hulu / roca

A command-line tool for running brightscript tests
Apache License 2.0
25 stars 19 forks source link

Fail test case when `isValid` gets <UNINITIALIZED> #118

Open ystarangl opened 2 years ago

ystarangl commented 2 years ago

m.assert.isValid(...) passes when gets \<UNINITIALIZED>.

m.describe("initialization", sub()
    m.it("creates a component", sub()
        ? component
        m.assert.isValid(component, "node must not be invalid")
    end sub)
end sub)