Skip to content

Commit

Permalink
Update feature_tests/js/test/slices.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler K <ambiguousemails@proton.me>
  • Loading branch information
Manishearth and ambiguousname authored Nov 5, 2024
1 parent 8c68ea9 commit 3668a05
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions feature_tests/js/test/slices.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ test("String List", (t) => {
let str = MyString.newFromFirst(["This", "is", "a", "test."]);
t.is(str.str, "This");
});

test("Float64Vec", (t) => {
let input = [1, 2, 3, 4, 5];
let data = Float64Vec.newIsize(input);
t.deepEqual(data.borrow(), input);
});

0 comments on commit 3668a05

Please sign in to comment.