Skip to content

Commit 97e889c

Browse files
committed
Remove tests leftovers
1 parent b8a61d0 commit 97e889c

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
restore-keys: "php-cs-fixer"
2626

2727
- name: Run PHP-CS-Fixer with output for CI debugging
28-
run: php-cs-fixer fix -vv --dry-run --format=checkstyle --allow-risky=yes
28+
run: php-cs-fixer fix -vv --dry-run --allow-risky=yes
2929

3030
- name: Run PHP-CS-Fixer with automatic pull request comments
3131
run: php-cs-fixer fix --dry-run --format=checkstyle --allow-risky=yes | cs2pr

tests/Spellchecker/IspellTest.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@ public function testSpellcheckFromRealBinaries(): void
3838
$this->assertWorkingSpellcheck(self::realBinaryPath());
3939
}
4040

41-
// /**
42-
// * @group integration
43-
// */
44-
// public function testSpellcheckFromRealBinariesUTF8(): void
45-
// {
46-
// $this->assertWorkingSpellcheckRUText(self::realBinaryPath());
47-
// }
48-
4941
/**
5042
* @group integration
5143
*/
@@ -117,24 +109,4 @@ private function assertWorkingSpellcheck(string $binaries): void
117109
$this->assertSame($misspellings[1]->getLineNumber(), 2);
118110
$this->assertNotEmpty($misspellings[1]->getSuggestions());
119111
}
120-
121-
// /**
122-
// * @param array|string $binaries
123-
// */
124-
// private function assertWorkingSpellcheckRUText($binaries): void
125-
// {
126-
// $ispell = new Ispell(new CommandLine($binaries));
127-
// /** @var Misspelling[] $misspellings */
128-
// $misspellings = iterator_to_array($ispell->check(TextTest::CONTENT_STUB_RU, ['russian'], ['ctx']));
129-
//
130-
// $this->assertSame(['ctx'], $misspellings[0]->getContext());
131-
// $this->assertSame('граматических', $misspellings[0]->getWord());
132-
// $this->assertSame(1, $misspellings[0]->getLineNumber());
133-
// $this->assertSame(54, $misspellings[0]->getOffset());
134-
//
135-
// $this->assertSame(['ctx'], $misspellings[1]->getContext());
136-
// $this->assertSame('англиских', $misspellings[1]->getWord());
137-
// $this->assertSame(1, $misspellings[1]->getLineNumber());
138-
// $this->assertSame(94, $misspellings[1]->getOffset());
139-
// }
140112
}

0 commit comments

Comments
 (0)