Skip to content

Commit 7ccb4e9

Browse files
nikkufake-join[bot]
authored andcommitted
test: improve formatting + descriptions
1 parent d1b11f5 commit 7ccb4e9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

test/spec/reader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ describe('Reader', function() {
281281
});
282282

283283

284-
it('collection / xsi:type / from other namespace)', async function() {
284+
it('collection / xsi:type / from other namespace', async function() {
285285

286286
var datatypeModel = createModel([ 'datatype', 'datatype-external' ]);
287287

test/spec/writer.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ describe('Writer', function() {
137137
expect(xml).to.eql(
138138
'<root xmlns="http://datatypes">' +
139139
'<bounds y="100" />' +
140-
'</root>');
140+
'</root>'
141+
);
141142
});
142143

143144

@@ -157,7 +158,8 @@ describe('Writer', function() {
157158
expect(xml).to.eql(
158159
'<a:root xmlns:a="http://datatypes">' +
159160
'<a:bounds y="100" />' +
160-
'</a:root>');
161+
'</a:root>'
162+
);
161163
});
162164

163165

@@ -183,7 +185,8 @@ describe('Writer', function() {
183185
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' +
184186
'<dt:otherBounds y="200" />' +
185187
'<dt:otherBounds xsi:type="do:Rect" x="100" />' +
186-
'</dt:root>');
188+
'</dt:root>'
189+
);
187190
});
188191

189192

@@ -209,7 +212,8 @@ describe('Writer', function() {
209212
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' +
210213
'<dt:otherBounds xsi:type="da:tRect" z="200" />' +
211214
'<dt:otherBounds y="100" />' +
212-
'</dt:root>');
215+
'</dt:root>'
216+
);
213217
});
214218

215219

@@ -237,7 +241,8 @@ describe('Writer', function() {
237241
'<props:someBody xsi:type="props:SimpleBody">' +
238242
'${ foo &lt; bar }' +
239243
'</props:someBody>' +
240-
'</props:withBody>');
244+
'</props:withBody>'
245+
);
241246
});
242247

243248

@@ -259,7 +264,8 @@ describe('Writer', function() {
259264
'<props:withBody xmlns:props="http://properties" ' +
260265
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\n' +
261266
' <props:someBody xsi:type="props:SimpleBody">${ foo &lt; bar }</props:someBody>\n' +
262-
'</props:withBody>\n');
267+
'</props:withBody>\n'
268+
);
263269
});
264270

265271

0 commit comments

Comments
 (0)