We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when I try this test
// lib/UtilsSpec.js it('.getOpenSubtitlesLanguage() es_ES', function(done){ var Utils = require('./Utils'); var lang = Utils.getOpenSubtitlesLanguage('es_ES'); expect(lang).to.be('spa'); done(); });
and run
$ mocha lib/UtilsSpec.js
indexSpec ✓ .getOpenSubtitlesLanguage() (338ms) 1) .getOpenSubtitlesLanguage() es_ES 1 passing (353ms) 1 failing 1) indexSpec .getOpenSubtitlesLanguage() es_ES: Error: expected 'es_es' to equal 'spa' at Assertion.assert (node_modules/expect.js/index.js:96:13) at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10) at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24) at Context.<anonymous> (lib/UtilsSpec.js:32:25) at Context.<anonymous> (lib/UtilsSpec.js:9:9)
The text was updated successfully, but these errors were encountered:
getOpenSubtitlesLanguage with es_ES divhide#30
4b92158
* added test for .UTF-8 in the language string
No branches or pull requests
when I try this test
and run
The text was updated successfully, but these errors were encountered: