File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ def test_search(self):
4646 results = list (self ._api .search ('SearchKeyword01 SearchKeyword02' ))
4747 self .assertEqual (len (results ), 1 )
4848 self .assertEqual (results [0 ]['name' ], 'Test_atwiki.test.test_core:AtWikiAPITest:test_search' )
49- self .assertEqual (results [0 ]['snippet' ], 'SearchKeyword01\n SearchKeyword02 ' )
49+ self .assertEqual (results [0 ]['snippet' ], 'SearchKeyword01 SearchKeyword02 ' )
5050
5151 def test_search_or (self ):
5252 results = list (self ._api .search ('SearchKeyword01 SearchKeyword02' , False ))
5353 self .assertEqual (len (results ), 2 )
5454 self .assertEqual (results [0 ]['name' ], 'Test_atwiki.test.test_core:AtWikiAPITest:test_search' )
55- self .assertEqual (results [0 ]['snippet' ], 'SearchKeyword01\n SearchKeyword02 ' )
55+ self .assertEqual (results [0 ]['snippet' ], 'SearchKeyword01 SearchKeyword02 ' )
5656 self .assertEqual (results [1 ]['name' ], 'Test_atwiki.test.test_core:AtWikiAPITest:test_search_or' )
5757 self .assertEqual (results [1 ]['snippet' ], 'SearchKeyword02' )
5858
You can’t perform that action at this time.
0 commit comments