File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -1245,14 +1245,21 @@ def test_copyright_inria_loss_of_holder_c(self):
12451245 ]
12461246 check_detection (expected , test_file )
12471247
1248+ @expectedFailure
12481249 def test_copyright_java (self ):
12491250 test_file = self .get_test_loc ('copyrights/copyright_java-java.java' )
12501251 expected = [
12511252 u'Copyright (c) 1992-2002 by P.J. Plauger.' ,
12521253 ]
1253- check_detection (expected , test_file ,
1254- expected_in_results = False ,
1255- results_in_expected = True )
1254+ check_detection (expected , test_file )
1255+
1256+ @expectedFailure
1257+ def test_copyright_java_passing (self ):
1258+ test_file = self .get_test_loc ('copyrights/copyright_java-java.java' )
1259+ expected = [
1260+ u'Copyright (c) 1992-2002 by P.J.' ,
1261+ ]
1262+ check_detection (expected , test_file )
12561263
12571264 def test_copyright_jdoe (self ):
12581265 test_file = self .get_test_loc ('copyrights/copyright_jdoe-copyright_c.c' )
You can’t perform that action at this time.
0 commit comments