Kati's $(wildcard) results are guaranteed to be sorted, but go's filepath.Glob() is not. Remove the file existence functions because they can just be replaced with wildcards. Bug: 226974242 Test: go test Change-Id: I02fb6292b932bc28cd856ec3c7cb9ed9e96ca630
8 lines
232 B
Plaintext
8 lines
232 B
Plaintext
# Module loaded my load.star
|
|
load("assert.star", "assert")
|
|
|
|
# Make sure that builtins are defined for the loaded module, too
|
|
assert.true(rblf_wildcard("module1.star"))
|
|
assert.true(not rblf_wildcard("no_such file"))
|
|
test = "module1"
|