From 395dc5dd07d1e6737afd19479cd9b7b70bf1a354 Mon Sep 17 00:00:00 2001 From: Josh Bernstein Date: Tue, 17 Oct 2017 17:38:01 +0000 Subject: [PATCH] Fix unit tests to use toEqual #5819 --- Specs/DataSources/KmlDataSourceSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Specs/DataSources/KmlDataSourceSpec.js b/Specs/DataSources/KmlDataSourceSpec.js index 034213b5782b..44d6e7294be1 100644 --- a/Specs/DataSources/KmlDataSourceSpec.js +++ b/Specs/DataSources/KmlDataSourceSpec.js @@ -283,7 +283,7 @@ defineSuite([ expect(source.entities); expect(source.entities.values.length).toEqual(1); expect(source.entities._entities._array.length).toEqual(1); - expect(source.entities._entities._array[0]._billboard._image === dataSource._pinBuilder.fromColor(Color.YELLOW, 64)); + expect(source.entities._entities._array[0]._billboard._image._value).toEqual(dataSource._pinBuilder.fromColor(Color.YELLOW, 64)); }); }); @@ -295,7 +295,7 @@ defineSuite([ expect(source.entities); expect(source.entities.values.length).toEqual(1); expect(source.entities._entities._array.length).toEqual(1); - expect(source.entities._entities._array[0]._billboard._image === dataSource._pinBuilder.fromColor(Color.YELLOW, 64)); + expect(source.entities._entities._array[0]._billboard._image._value).toEqual(dataSource._pinBuilder.fromColor(Color.YELLOW, 64)); }); });