Following the formatting changes, the line number where the googletests are situated changed. This commit fixes the python test to expect the correct line number
This commit is contained in:
		
							parent
							
								
									936479f5f9
								
							
						
					
					
						commit
						72a2836945
					
				@ -49,7 +49,7 @@ EXPECTED_XML = """<\?xml version="1.0" encoding="UTF-8"\?>
 | 
				
			|||||||
<testsuites tests="2" name="AllTests">
 | 
					<testsuites tests="2" name="AllTests">
 | 
				
			||||||
  <testsuite name="FooTest" tests="2">
 | 
					  <testsuite name="FooTest" tests="2">
 | 
				
			||||||
    <testcase name="Test1" file=".*gtest_list_output_unittest_.cc" line="43" />
 | 
					    <testcase name="Test1" file=".*gtest_list_output_unittest_.cc" line="43" />
 | 
				
			||||||
    <testcase name="Test2" file=".*gtest_list_output_unittest_.cc" line="46" />
 | 
					    <testcase name="Test2" file=".*gtest_list_output_unittest_.cc" line="45" />
 | 
				
			||||||
  </testsuite>
 | 
					  </testsuite>
 | 
				
			||||||
</testsuites>
 | 
					</testsuites>
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
@ -70,7 +70,7 @@ EXPECTED_JSON = """{
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
          "name": "Test2",
 | 
					          "name": "Test2",
 | 
				
			||||||
          "file": ".*gtest_list_output_unittest_.cc",
 | 
					          "file": ".*gtest_list_output_unittest_.cc",
 | 
				
			||||||
          "line": 46
 | 
					          "line": 45
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      \]
 | 
					      \]
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user