From 7ccb4e97a6d6ced11fb02a5e821f7545169c1d27 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Mon, 19 Dec 2022 19:31:20 +0100 Subject: [PATCH] test: improve formatting + descriptions --- test/spec/reader.js | 2 +- test/spec/writer.js | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/test/spec/reader.js b/test/spec/reader.js index fdf79da..acee087 100644 --- a/test/spec/reader.js +++ b/test/spec/reader.js @@ -281,7 +281,7 @@ describe('Reader', function() { }); - it('collection / xsi:type / from other namespace)', async function() { + it('collection / xsi:type / from other namespace', async function() { var datatypeModel = createModel([ 'datatype', 'datatype-external' ]); diff --git a/test/spec/writer.js b/test/spec/writer.js index 70c1abe..4dda8f7 100644 --- a/test/spec/writer.js +++ b/test/spec/writer.js @@ -137,7 +137,8 @@ describe('Writer', function() { expect(xml).to.eql( '' + '' + - ''); + '' + ); }); @@ -157,7 +158,8 @@ describe('Writer', function() { expect(xml).to.eql( '' + '' + - ''); + '' + ); }); @@ -183,7 +185,8 @@ describe('Writer', function() { 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' + '' + '' + - ''); + '' + ); }); @@ -209,7 +212,8 @@ describe('Writer', function() { 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' + '' + '' + - ''); + '' + ); }); @@ -237,7 +241,8 @@ describe('Writer', function() { '' + '${ foo < bar }' + '' + - ''); + '' + ); }); @@ -259,7 +264,8 @@ describe('Writer', function() { '\n' + ' ${ foo < bar }\n' + - '\n'); + '\n' + ); });