Skip to content

Commit

Permalink
Updated JavaScript tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 8, 2024
1 parent a7c7774 commit 2b80aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bindings/javascript/analyservariable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("Analyser Variable tests", () => {
});
test('Checking Analyser Variable index.', () => {
const av = am.algebraicVariable(7)
expect(av.index()).toBe(7)
expect(av.index()).toBe(2)
});
test('Checking Analyser Variable initialising variable.', () => {
const av = am.algebraicVariable(15)
Expand Down
2 changes: 1 addition & 1 deletion tests/bindings/javascript/generator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("Generator tests", () => {
g.setModel(a.model())

const interface_lines = g.interfaceCode().split('\n')
expect(interface_lines.length).toBe(42)
expect(interface_lines.length).toBe(43)

const implementation_lines = g.implementationCode().split('\n')
expect(implementation_lines.length).toBe(69)
Expand Down

0 comments on commit 2b80aaf

Please sign in to comment.