diff options
author | specter25 <ujjwalcoding012@gmail.com> | 2021-03-21 12:19:42 +0530 |
---|---|---|
committer | specter25 <ujjwalcoding012@gmail.com> | 2021-03-21 12:19:42 +0530 |
commit | 37228d58f091496f9721d3e90f7047d72ff9dfc7 (patch) | |
tree | af8b141f0fa5167ec92bd3805d3a07f170bd82d6 /builder/build_test.go | |
parent | e62e0b5ac8d26d7cf76e185c62bf69fa5ddf6f11 (diff) | |
download | spdx-tools-37228d58f091496f9721d3e90f7047d72ff9dfc7.tar.gz |
Combine switch cases and remove redundant NL
- Combine the switch cases when defined enum for case type
- Rmoved redundant NL in the code
Signed-off-by: specter25 <ujjwalcoding012@gmail.com>
Diffstat (limited to 'builder/build_test.go')
-rw-r--r-- | builder/build_test.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/builder/build_test.go b/builder/build_test.go index 0c30679..8c18c44 100644 --- a/builder/build_test.go +++ b/builder/build_test.go @@ -498,7 +498,6 @@ func TestBuild2_2CreatesDocument(t *testing.T) { } } } - if fileEmpty.LicenseConcluded != "NOASSERTION" { t.Errorf("expected %v, got %v", "NOASSERTION", fileEmpty.LicenseConcluded) } @@ -536,7 +535,6 @@ func TestBuild2_2CreatesDocument(t *testing.T) { } } } - if file1.LicenseConcluded != "NOASSERTION" { t.Errorf("expected %v, got %v", "NOASSERTION", file1.LicenseConcluded) } @@ -574,7 +572,6 @@ func TestBuild2_2CreatesDocument(t *testing.T) { } } } - if file3.LicenseConcluded != "NOASSERTION" { t.Errorf("expected %v, got %v", "NOASSERTION", file3.LicenseConcluded) } @@ -612,7 +609,6 @@ func TestBuild2_2CreatesDocument(t *testing.T) { } } } - if file4.LicenseConcluded != "NOASSERTION" { t.Errorf("expected %v, got %v", "NOASSERTION", file4.LicenseConcluded) } |