示例#1
0
 public void InSearch2()
 {
     Create("foo bar");
     _search.DoSearch("foo");
     Assert.False(_search.InSearch);
     Assert.Equal("foo", _vimData.LastSearchData.Pattern);
 }
 public void GetTags_AfterSearchCompleted()
 {
     Create("dog cat bar");
     _search.DoSearch("dog");
     Assert.AreEqual(0, GetTags().Count());
 }
示例#3
0
 public void InSearch2()
 {
     Create("foo bar");
     _search.DoSearch("foo");
     Assert.IsFalse(_search.InSearch);
     Assert.IsFalse(_search.CurrentSearch.IsSome());
     Assert.AreEqual("foo", _vimData.LastPatternData.Pattern);
 }
示例#4
0
 public void GetTags_AfterSearchCompleted()
 {
     Create("dog cat bar");
     _search.DoSearch("dog");
     Assert.Empty(GetTags());
 }