@@ -69,7 +69,7 @@ test('Test data validation open outline', () => {
6969 <tag k="building" v="yes"/>
7070 </way>` ;
7171 expect ( ( ) => new Building ( '1' , data ) )
72- . toThrow ( new Error ( 'Rendering of way 1 is not is not possible. Error: Way 1 is not a closed way. 2 !== 4.' ) ) ;
72+ . toThrow ( new Error ( 'Rendering of way 1 is not possible. Error: Way 1 is not a closed way. 2 !== 4.' ) ) ;
7373} ) ;
7474
7575test ( 'Test data validation with not building' , ( ) => {
@@ -82,7 +82,7 @@ test('Test data validation with not building', () => {
8282 <tag k="not:building" v="yes"/>
8383 </way>` ;
8484 expect ( ( ) => new Building ( '1' , data ) )
85- . toThrow ( new Error ( 'Rendering of way 1 is not is not possible. Error: Outer way is not a building' ) ) ;
85+ . toThrow ( new Error ( 'Rendering of way 1 is not possible. Error: Outer way is not a building' ) ) ;
8686} ) ;
8787
8888test ( 'Test data validation with empty way' , ( ) => {
@@ -91,7 +91,7 @@ test('Test data validation with empty way', () => {
9191 <tag k="building" v="yes"/>
9292 </way>` ;
9393 expect ( ( ) => new Building ( '1' , data ) )
94- . toThrow ( new Error ( 'Rendering of way 1 is not is not possible. Error: Way 1 has no nodes.' ) ) ;
94+ . toThrow ( new Error ( 'Rendering of way 1 is not possible. Error: Way 1 has no nodes.' ) ) ;
9595} ) ;
9696
9797test ( 'Test Constructor' , async ( ) => {
0 commit comments