Skip to content

Commit cb47c27

Browse files
authored
Use single line imports where possible (#136)
1 parent adc15f7 commit cb47c27

33 files changed

+33
-99
lines changed

array/find_duplicate_in_array_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package array
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestFindDuplicate tests solution(s) with the following signature and problem description:

bit/oddly_repeated_number_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package bit
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestOddlyRepeatedNumber tests solution(s) with the following signature and problem description:

dnc/binary_search_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dnc
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestBinarySearch tests solution(s) with the following signature and problem description:

dp/house_robber_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dp
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestMaxHouseRobber tests solution(s) with the following signature and problem description:

dp/interleaving_string_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dp
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestIsInterleavingString tests solution(s) with the following signature and problem description:

dp/minimum_deletion_to_make_palindrome_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dp
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestMinimumDeletionsToMakePalindrome tests solution(s) with the following signature and problem description:

dp/sum_up_to_integer_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dp
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestSumUpToInteger tests solution(s) with the following signature and problem description:

dp/word_distance_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package dp
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestWordDistance tests solution(s) with the following signature and problem description:

graph/dijkstra_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package graph
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
type dijkstraTestCase struct {
86
graph []*dijkstraVertex

graph/employee_headcount_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package graph
22

3-
import (
4-
"testing"
5-
)
3+
import "testing"
64

75
/*
86
TestEmployeeHeadCount tests solution(s) with the following signature and problem description:

0 commit comments

Comments
 (0)