diff --git a/tests/bindings/javascript/analyservariable.test.js b/tests/bindings/javascript/analyservariable.test.js index 6aa1f4f8d1..733684b5dd 100644 --- a/tests/bindings/javascript/analyservariable.test.js +++ b/tests/bindings/javascript/analyservariable.test.js @@ -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) diff --git a/tests/bindings/javascript/generator.test.js b/tests/bindings/javascript/generator.test.js index bd854e65f8..38af9720c4 100644 --- a/tests/bindings/javascript/generator.test.js +++ b/tests/bindings/javascript/generator.test.js @@ -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)