mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
MAINT: Enforcing formatted code (#1544)
* Enforcing formatted code Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me> * Show lines Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me> * Run check after deps are installed Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
This commit is contained in:
committed by
GitHub
parent
766f37f60d
commit
ba2c7f9c0e
@ -334,8 +334,8 @@ func TestCheckDuplicates_dup_ns(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestUniq(t *testing.T) {
|
||||
a := []uint32 {1, 2, 2, 3, 4, 5, 5, 6}
|
||||
expected := []uint32 {1, 2, 3, 4, 5, 6}
|
||||
a := []uint32{1, 2, 2, 3, 4, 5, 5, 6}
|
||||
expected := []uint32{1, 2, 3, 4, 5, 6}
|
||||
|
||||
r := uniq(a)
|
||||
if !reflect.DeepEqual(r, expected) {
|
||||
|
Reference in New Issue
Block a user