示例#1
0
 def test (self):
   self.assertEqual(expand_region_handler.expand_to_word_with_dots("foo.bar", 6, 7), {"start": 0, "end": 7, "string": "foo.bar", "type": "word_with_dots"})
示例#2
0
 def test (self):
   result = expand_region_handler.expand_to_word_with_dots("foo.bar", 6, 7);
   self.assertEqual(result["start"], 0)
   self.assertEqual(result["end"], 7)
   self.assertEqual(result["string"], "foo.bar")