Skip to content

Commit 7aa4f32

Browse files
committed
fix lint errors
1 parent 13f6418 commit 7aa4f32

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

test/client/doc.js

+11-5
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,20 @@ describe('Doc', function() {
105105
var connection = this.connection;
106106
var doc = connection.get('dogs', 'fido');
107107
doc.create({name: 'fido'});
108-
var order = ""
109-
doc.fetch(function() { order += "A" });
108+
var order = '';
109+
doc.fetch(function() {
110+
order += 'A';
111+
});
110112
doc.submitOp([{p: ['snacks'], oi: true}]);
111-
doc.fetch(function() { order += "B" });
113+
doc.fetch(function() {
114+
order += 'B';
115+
});
112116
doc.submitOp([{p: ['color'], oi: 'gray'}]);
113-
doc.fetch(function() { order += "C" });
117+
doc.fetch(function() {
118+
order += 'C';
119+
});
114120
doc.whenNothingPending(function() {
115-
expect(order).to.eql("ABC");
121+
expect(order).to.eql('ABC');
116122
done();
117123
});
118124
});

0 commit comments

Comments
 (0)