diff options
author | Stefan <mu.stefan@googlemail.com> | 2016-03-23 16:47:52 +0100 |
---|---|---|
committer | Stefan <mu.stefan@googlemail.com> | 2016-03-23 16:47:52 +0100 |
commit | d7c4cc8e65ae42eb47905b389b9afed3a90e3169 (patch) | |
tree | 1e70f504f331403d7066dac9c5d900da869a5b39 | |
parent | fb7856fc8f60120427e1476501eaf9ad15743218 (diff) | |
download | etherpad-lite-d7c4cc8e65ae42eb47905b389b9afed3a90e3169.zip |
Fix check in backend tests
-rw-r--r-- | tests/backend/specs/api/pad.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backend/specs/api/pad.js b/tests/backend/specs/api/pad.js index e04033c0..1db90580 100644 --- a/tests/backend/specs/api/pad.js +++ b/tests/backend/specs/api/pad.js @@ -501,7 +501,7 @@ describe('getText', function(){ api.get(endPoint('getText')+"&padID="+testPadId) .expect(function(res){ if(res.body.code !== 0) throw new Error("Pad Get Text failed"); - if(res.body.data.text !== text+"\nhello") throw new Error("Pad Text not set properly"); + if(res.body.data.text !== text+"hello\n") throw new Error("Pad Text not set properly"); }) .expect('Content-Type', /json/) .expect(200, done); |