mirror of
https://github.com/fergalmoran/picard.git
synced 2025-12-25 10:48:18 +00:00
Add test for processing empty string (to confirm no divide-by-zero)
This commit is contained in:
@@ -72,6 +72,9 @@ class WeightedScriptDetectionTest(PicardTestCase):
|
||||
scripts = detect_script_weighted("1234567890+-/*=,./!?")
|
||||
self.assertEqual(scripts, {})
|
||||
|
||||
scripts = detect_script_weighted("")
|
||||
self.assertEqual(scripts, {})
|
||||
|
||||
|
||||
class ListScriptWeightedTest(PicardTestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user