codegen: throw type error when encountering an unknown argument

This commit is contained in:
Gregory Terzian 2019-09-05 00:18:58 +08:00
parent 39bd45529d
commit 5149aefd85
2 changed files with 7 additions and 2 deletions

View file

@ -1,2 +1,7 @@
[iirfilter.html]
expected: CRASH
expected: ERROR
[X createIIRFilter with unnormalized coefficients incorrectly threw TypeError: \"context.createIIRFilter is not a function\".]
expected: FAIL
[X createIIRFilter with normalized coefficients incorrectly threw TypeError: \"context.createIIRFilter is not a function\".]
expected: FAIL