Skip to content

Commit 6e52805

Browse files
0xcedericnewton76
authored andcommitted
Update copyright in unit tests
1 parent 8ea031d commit 6e52805

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/CommandLine.Tests/Unit/ParserTests.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public void Implicit_help_screen_in_verb_scenario()
366366
var lines = result.ToNotEmptyLines().TrimStringArray();
367367
#if !PLATFORM_DOTNET
368368
lines[0].Should().StartWithEquivalent("CommandLine");
369-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
369+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
370370
#else
371371
// Takes the name of the xUnit test program
372372
lines[0].Should().StartWithEquivalent("xUnit");
@@ -397,7 +397,7 @@ public void Double_dash_help_dispalys_verbs_index_in_verbs_scenario()
397397
var lines = result.ToNotEmptyLines().TrimStringArray();
398398
#if !PLATFORM_DOTNET
399399
lines[0].Should().StartWithEquivalent("CommandLine");
400-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
400+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
401401
#else
402402
// Takes the name of the xUnit test program
403403
lines[0].Should().StartWithEquivalent("xUnit");
@@ -452,7 +452,7 @@ public void Errors_of_type_MutuallyExclusiveSetError_are_properly_formatted()
452452
var lines = result.ToNotEmptyLines().TrimStringArray();
453453
#if !PLATFORM_DOTNET
454454
lines[0].Should().StartWithEquivalent("CommandLine");
455-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
455+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
456456
#else
457457
// Takes the name of the xUnit test program
458458
lines[0].Should().StartWithEquivalent("xUnit");
@@ -501,7 +501,7 @@ public void Properly_formatted_help_screen_is_displayed_when_usage_is_defined_in
501501
var lines = result.ToNotEmptyLines().TrimStringArray();
502502
#if !PLATFORM_DOTNET
503503
lines[0].Should().StartWithEquivalent("CommandLine");
504-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
504+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
505505
#else
506506
// Takes the name of the xUnit test program
507507
lines[0].Should().StartWithEquivalent("xUnit");
@@ -541,7 +541,7 @@ public void Properly_formatted_help_screen_is_displayed_when_there_is_a_hidden_v
541541
var lines = result.ToNotEmptyLines().TrimStringArray();
542542
#if !PLATFORM_DOTNET
543543
lines[0].Should().StartWithEquivalent("CommandLine");
544-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
544+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
545545
#else
546546
// Takes the name of the xUnit test program
547547
lines[0].Should().StartWithEquivalent("xUnit");
@@ -571,7 +571,7 @@ public void Properly_formatted_help_screen_is_displayed_when_there_is_a_hidden_v
571571
var lines = result.ToNotEmptyLines().TrimStringArray();
572572
#if !PLATFORM_DOTNET
573573
lines[0].Should().StartWithEquivalent("CommandLine");
574-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
574+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
575575
#else
576576
// Takes the name of the xUnit test program
577577
lines[0].Should().StartWithEquivalent("xUnit");
@@ -639,7 +639,7 @@ public void Specific_verb_help_screen_should_be_displayed_regardless_other_argum
639639
var lines = result.ToNotEmptyLines().TrimStringArray();
640640
#if !PLATFORM_DOTNET
641641
lines[0].Should().StartWithEquivalent("CommandLine");
642-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
642+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
643643
#else
644644
// Takes the name of the xUnit test program
645645
lines[0].Should().StartWithEquivalent("xUnit");
@@ -709,7 +709,7 @@ public void Properly_formatted_help_screen_excludes_help_as_unknown_option()
709709
var lines = result.ToNotEmptyLines().TrimStringArray();
710710
#if !PLATFORM_DOTNET
711711
lines[0].Should().StartWithEquivalent("CommandLine");
712-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
712+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
713713
#else
714714
// Takes the name of the xUnit test program
715715
lines[0].Should().StartWithEquivalent("xUnit");

tests/CommandLine.Tests/Unit/Text/HelpTextTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public void Invoke_AutoBuild_for_Verbs_with_specific_verb_returns_appropriate_fo
390390

391391
#if !PLATFORM_DOTNET
392392
lines[0].Should().StartWithEquivalent("CommandLine");
393-
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2015 Giacomo Stelluti Scala");
393+
lines[1].ShouldBeEquivalentTo("Copyright (c) 2005 - 2018 Giacomo Stelluti Scala & Contributors");
394394
#else
395395
// Takes the name of the xUnit test program
396396
lines[0].Should().StartWithEquivalent("xUnit");

0 commit comments

Comments
 (0)