1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

fix tests

This commit is contained in:
ido 2015-02-11 16:42:03 +02:00
parent d1e6d41740
commit 4d52b03be1

View File

@ -231,7 +231,7 @@ test('test shell', function (t) {
test('test convertText', function (t) {
var texts = [
{input: '{}', expected: '()'},
{input: "a {'b'}", expected: '"a ",(\'b\')'}
{input: "a {'b'}", expected: '"a "+(\'b\')'}
];
t.plan(texts.length);
texts.forEach(check);
@ -244,7 +244,7 @@ test('test convertText', function (t) {
test('test convertText errors', function (t) {
var texts = [
{input: '{}', expected: '()'},
{input: "a {'b'}", expected: '"a ",(\'b\')'}
{input: "a {'b'}", expected: '"a "+(\'b\')'}
];
t.plan(texts.length);
texts.forEach(check);