mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			301 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			301 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/lib/Test/Unit/TestCase.pm
 | |
| +++ b/lib/Test/Unit/TestCase.pm
 | |
| @@ -103,7 +103,7 @@
 | |
|      my $class = ref($_[0]) || $_[0];
 | |
|      my @tests = ();
 | |
|      no strict 'refs';
 | |
| -    if (defined(@{"$class\::TESTS"})) {
 | |
| +    if (@{"$class\::TESTS"}) {
 | |
|          push @tests, @{"$class\::TESTS"};
 | |
|      }
 | |
|      else {
 |