From 4c8eb18278ee018472b01fbe3ec4d216fe6fb8b0 Mon Sep 17 00:00:00 2001 From: guredd Date: Wed, 5 Apr 2017 19:23:33 +0300 Subject: [PATCH] test actualized --- test/swot/SwotTest.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/swot/SwotTest.kt b/test/swot/SwotTest.kt index 8585575832..3ef2723def 100644 --- a/test/swot/SwotTest.kt +++ b/test/swot/SwotTest.kt @@ -49,7 +49,8 @@ class SwotTest : TestCase() { } fun testSchoolNames() { - assertEquals("University of Strathclyde", findSchoolNames("lreilly@cs.strath.ac.uk").single()) + assertTrue(findSchoolNames("lreilly@cs.strath.ac.uk").contains("University of Strathclyde")) + assertTrue(findSchoolNames("lreilly@cs.strath.ac.uk").contains("uka tarsadia university,bardoli")) assertEquals("BRG Fadingerstraße Linz, Austria", findSchoolNames("lreilly@fadi.at").single()) assertEquals("St. Petersburg State University", findSchoolNames("max@spbu.ru ").single()) assertEquals(0, findSchoolNames("foo@shop.com").size)