Skip to content

Commit 2b80aaf

Browse files
committed
Updated JavaScript tests.
1 parent a7c7774 commit 2b80aaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/bindings/javascript/analyservariable.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ describe("Analyser Variable tests", () => {
4848
});
4949
test('Checking Analyser Variable index.', () => {
5050
const av = am.algebraicVariable(7)
51-
expect(av.index()).toBe(7)
51+
expect(av.index()).toBe(2)
5252
});
5353
test('Checking Analyser Variable initialising variable.', () => {
5454
const av = am.algebraicVariable(15)

tests/bindings/javascript/generator.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe("Generator tests", () => {
6262
g.setModel(a.model())
6363

6464
const interface_lines = g.interfaceCode().split('\n')
65-
expect(interface_lines.length).toBe(42)
65+
expect(interface_lines.length).toBe(43)
6666

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

0 commit comments

Comments
 (0)