MCPcopy Index your code
hub / github.com/idank/explainshell / test_unicode

Method test_unicode

tests/test_matcher.py:24–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.assertRaises(errors.ProgramDoesNotExist, matcher.Matcher("foo", s).match)
23
24 def test_unicode(self):
25 matchedresult = [
26 MR(0, 3, "bar synopsis", "bar"),
27 MR(4, 13, "-b <arg> desc", "-b uni\u05e7\u05d5\u05d3"),
28 ]
29
30 self.assertMatchSingle(
31 "bar -b uni\u05e7\u05d5\u05d3", s.find_man_page("bar")[0], matchedresult
32 )
33
34 def test_no_options(self):
35 matchedresult = [MR(0, 3, "bar synopsis", "bar")]

Callers

nothing calls this directly

Calls 2

assertMatchSingleMethod · 0.95
find_man_pageMethod · 0.45

Tested by

no test coverage detected