hunspell-ko/hunspell-dict-ko-0.4.2-1278333282.fixtests.patch
Caolan McNamara 86cc6154da fix tests
2010-07-05 12:36:29 +00:00

15 lines
654 B
Diff

--- tests/runtest.py 2010-07-05 12:55:25.000000000 +0100
+++ tests/runtest.py 2010-07-05 12:56:46.000000000 +0100
@@ -18,9 +18,9 @@
hunspell_cmd = './hunspell'
else:
hunspell_cmd = 'hunspell'
- hunspell = subprocess.Popen([hunspell_cmd, '-d', '../ko'],
+ hunspell = subprocess.Popen([hunspell_cmd, '-i', 'UTF-8', '-a', '-d', '../ko'],
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
- hunspell.stdout.readline() # the first line "Husnpell 1.2.8 ..."
+ hunspell.stdout.readline() # the first line "Hunspell 1.2.8 ..."
lineno = 0
errmsg = sys.stderr.write
for l in lines: