Skip to content

Commit

Permalink
tidy up after the findvars test
Browse files Browse the repository at this point in the history
  • Loading branch information
christianp committed Dec 19, 2024
1 parent 4598c79 commit 8f2ba6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/jme/jme-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Numbas.queueScript('jme_tests',['qunit','jme','jme-rules','jme-display','jme-cal
scope.addFunction(fn);
const vars = Numbas.jme.findvars(Numbas.jme.compile('f(2)'), scope);
assert.deepEqual(vars, [], "Recursive custom functions don't produce their own names in findvars");
delete Numbas.jme.findvarsOps['f'];
});

QUnit.test('findvars in HTML',function(assert) {
Expand Down

0 comments on commit 8f2ba6b

Please sign in to comment.