github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/starlib/starlarkrule/testdata/attrs.star (about) 1 load("rule.star", "DefaultInfo") 2 3 def test_default_attrs(t): 4 info = DefaultInfo( 5 files = ["source"], 6 ) 7 8 print(info) 9 t.eq(len(info.files), 1) 10 file = info.files[0] 11 t.eq(file.key, "source")