Skip to content

Commit

Permalink
Really fix and eliminate old version
Browse files Browse the repository at this point in the history
Tests will not work there #6
  • Loading branch information
JJ committed Mar 21, 2023
1 parent 4c96af1 commit 4caed65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
linting:
strategy:
matrix:
version: [16, 18, latest]
version: [18, latest]
runs-on: ubuntu-latest
steps:
- name: Working version
Expand Down
6 changes: 3 additions & 3 deletions test/node/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ describe("incrementOrInitTest", () => {
it("should exist and have a value", () => {
const returned = incrementOrInit(dummy, "foo");

assertEquals(returned, dummy);
assertEquals(dummy["foo"], FOO + 1);
equal(returned, dummy);
equal(dummy["foo"], FOO + 1);
});
it("should have incremented its value", () => {
incrementOrInit(dummy, "baz");
assertEquals(dummy["baz"], 1);
equal(dummy["baz"], 1);
});
});

0 comments on commit 4caed65

Please sign in to comment.