Skip to content

Commit

Permalink
Small TS Test Adjustments (#760)
Browse files Browse the repository at this point in the history
* Rename all tests to not use -ts suffix

* Use notThrows test
  • Loading branch information
ambiguousname authored Jan 8, 2025
1 parent 3a94573 commit b42abf7
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ test("Test struct layout: scalar pair layout", t => {
first: 122,
second: 414
});
s.assertValue();
t.is(true, true); // Ava doesn't like tests without assertions
t.notThrows(() => { s.assertValue() });
});

test("Test struct layout: complex struct with multiple padding types and contained scalar pair", t => {
Expand All @@ -77,8 +76,7 @@ test("Test struct layout: complex struct with multiple padding types and contain
fourth: new ScalarPairWithPadding({first: 122, second: 414}),
fifth: 99
});
s.assertValue(853);
t.is(true, true); // Ava doesn't like tests without assertions
t.notThrows(() => { s.assertValue(853) });
});

test("Function Returning Nested Struct of One Primitive", t => {
Expand Down

0 comments on commit b42abf7

Please sign in to comment.