@@ -1259,7 +1259,7 @@ def test_copyright_java_passing(self):
12591259 expected = [
12601260 u'Copyright (c) 1992-2002 by P.J.' ,
12611261 ]
1262- check_detection (expected , test_file )
1262+ check_detection (expected , test_file )
12631263
12641264 def test_copyright_jdoe (self ):
12651265 test_file = self .get_test_loc ('copyrights/copyright_jdoe-copyright_c.c' )
@@ -3911,7 +3911,7 @@ def test_copyright_in_markup_should_not_be_truncated(self):
39113911 def test_copyright_should_not_have_trailing_garbage (self ):
39123912 test_file = self .get_test_loc ('copyrights/copyright_with_trailing_words.js' )
39133913 expected = [
3914- 'Copyright 2012-2015 The Dojo Foundation' ,
3914+ 'Copyright 2012-2015 The Dojo Foundation' ,
39153915 'Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters' ,
39163916 'Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters' ,
39173917 'Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters' ,
@@ -3926,3 +3926,16 @@ def test_copyright_should_not_have_trailing_available(self):
39263926 test_file = self .get_test_loc ('copyrights/copyright_hostapd_trailing_available.c' )
39273927 expected = [
u'Copyright (c) 2004-2005, Jouni Malinen <[email protected] >' ]
39283928 check_detection (expected , test_file )
3929+
3930+ @expectedFailure
3931+ def test_copyright_with_dots_and_all_lowercase_on_multilines (self ):
3932+ test_lines = [u'Copyright . 2008 company name, inc.' ,
3933+ u' Change: Add functions' ,]
3934+ expected = [u'Copyright . 2008 company name, inc.' ]
3935+ check_detection (expected , test_lines )
3936+
3937+ @expectedFailure
3938+ def test_copyright_with_dots_and_all_lowercase_on_single_line (self ):
3939+ test_lines = [u'Copyright . 2008 foo name, inc.' ]
3940+ expected = [u'Copyright . 2008 foo name, inc.' ]
3941+ check_detection (expected , test_lines )
0 commit comments