mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	fixes bug in example - undeclared identifier
j was not declared in `SECTION("two")`
			
			
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							a2e5ce2418
						
					
				
				
					commit
					2fc83e7e9c
				
			@@ -51,7 +51,7 @@ TEST_CASE("Generators") {
 | 
			
		||||
    }
 | 
			
		||||
    SECTION("two") {
 | 
			
		||||
        auto k = GENERATE(4, 5, 6);
 | 
			
		||||
        REQUIRE(j != k);
 | 
			
		||||
        REQUIRE(i != k);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user