Skip to content

Commit

Permalink
Added a couple passing tests for assertInvalid
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdp committed Jan 15, 2025
1 parent be7864d commit 0818b87
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/src/source/Assertion.spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,21 @@ namespace tests

end function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@describe("tests AssertInvalid")
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

@it("passes literal invalid")
function _()
m.assertInvalid(invalid)
end function

@it("passes roInvalid from parseJson")
function _()
result = parseJson(formatJson({ a: 1, b: "test", c: createObject("roTimespan") }))
m.assertInvalid(result)
end function

'ASSERTIONS TO WRITE TESTS FOR!

'This is coming soon!
Expand Down

0 comments on commit 0818b87

Please sign in to comment.