mde / ejs

Embedded JavaScript templates -- http://ejs.co
Apache License 2.0
7.7k stars 841 forks source link

test: fix hyphenToCamel assertion #665

Closed panva closed 2 years ago

panva commented 2 years ago

The error message changes depending on the version of Node.js, this makes it so that just the error name is asserted rather than a brittle message. Also the test description was incorrect.