Skip to content

Fix assert_match error of "should unbind mustache templates" in HjsTemplateTest #551

New issue

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

Closed
wants to merge 1 commit into from

Conversation

htwroclau
Copy link
Contributor

@htwroclau htwroclau commented Apr 8, 2018

I'll try to fix the test failure of "should unbind mustache templates" case in HjsTemplateTest.

test failure

Failure:
HjsTemplateTest#test_should_unbind_mustache_templates [/XXX/yyy/ember-rails/test/hjstemplate_test.rb:31]:
Expected /function .*unbound|"name":"unbound"|\[\\"unbound\\"\]/m to match "Ember.TEMPLATES[\"hairy\"] = Ember.HTMLBars.template({\"id\":null,\"block\":\"{\\\"symbols\\\":[],\\\"statements\\\":[[0,\\\"This is a great \\\"],[6,\\\"img\\\"],[10,\\\"src\\\",[26,[[25,\\\"unbound\\\",[[20,[\\\"image\\\"]]],null]]]],[7],[8],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\"meta\":{\"moduleName\":\"hairy\"}});\n".

@htwroclau htwroclau closed this Apr 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant