From 9e04650066fd8e56ca51fe7e890857a35fcad0fe Mon Sep 17 00:00:00 2001 From: Andrew Skurlatov Date: Tue, 12 Dec 2023 23:59:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(WordServiceTests.swift)?= =?UTF-8?q?:=20remove=20redundant=20test=20case=20for=20filtering=20words?= =?UTF-8?q?=20in=20old=20Norse=20to=20Russian=20direction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tests/UnitTests/WordServiceTests.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Tests/UnitTests/WordServiceTests.swift b/Tests/UnitTests/WordServiceTests.swift index c5df703..e13255e 100644 --- a/Tests/UnitTests/WordServiceTests.swift +++ b/Tests/UnitTests/WordServiceTests.swift @@ -90,11 +90,6 @@ class WordServiceTests: XCTestCase { for word in filteredWords { XCTAssertTrue(word.oldNorseWord.contains("hafa")) } - - filteredWords = wordService.filterWords(wordService.words, with: "hafa", searchDirection: .oldNorseToRussian) - for word in filteredWords { - XCTAssertTrue(word.oldNorseWord.contains("hafa")) - } }