mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	tests/unit/autojump_match_test: Fix backslashes in strings
This commit is contained in:
		
							parent
							
								
									f6acb90eae
								
							
						
					
					
						commit
						022814c86b
					
				@ -19,8 +19,8 @@ class TestMatchAnywhere(object):
 | 
			
		||||
    entry4 = Entry('/中/zhong/国/guo', 10)
 | 
			
		||||
    entry5 = Entry('/is\'t/this/a/b*tchin/edge/case?', 10)
 | 
			
		||||
    win_entry1 = Entry('C:\\foo\\bar\\baz', 10)
 | 
			
		||||
    win_entry2 = Entry('D:\Program Files (x86)\GIMP', 10)
 | 
			
		||||
    win_entry3 = Entry('C:\Windows\System32', 10)
 | 
			
		||||
    win_entry2 = Entry('D:\\Program Files (x86)\\GIMP', 10)
 | 
			
		||||
    win_entry3 = Entry('C:\\Windows\\System32', 10)
 | 
			
		||||
 | 
			
		||||
    @pytest.fixture
 | 
			
		||||
    def haystack(self):
 | 
			
		||||
@ -75,9 +75,9 @@ class TestMatchConsecutive(object):
 | 
			
		||||
    entry4 = Entry('/中/zhong/国/guo', 10)
 | 
			
		||||
    entry5 = Entry('/日/本', 10)
 | 
			
		||||
    entry6 = Entry('/is\'t/this/a/b*tchin/edge/case?', 10)
 | 
			
		||||
    win_entry1 = Entry('C:\Foo\Bar\Baz', 10)
 | 
			
		||||
    win_entry2 = Entry('D:\Program Files (x86)\GIMP', 10)
 | 
			
		||||
    win_entry3 = Entry('C:\Windows\System32', 10)
 | 
			
		||||
    win_entry1 = Entry('C:\\Foo\\Bar\\Baz', 10)
 | 
			
		||||
    win_entry2 = Entry('D:\\Program Files (x86)\\GIMP', 10)
 | 
			
		||||
    win_entry3 = Entry('C:\\Windows\\System32', 10)
 | 
			
		||||
 | 
			
		||||
    @pytest.fixture
 | 
			
		||||
    def haystack(self):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user