summaryrefslogtreecommitdiffstats
path: root/stdout
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2021-04-07 13:22:20 +0200
committerDaniel Milde <daniel@milde.cz>2021-04-07 13:22:20 +0200
commit26e6a0019657ddaa7c6d9c1ff866050c83279e3a (patch)
tree1bb6edc885bf6f519feffe2b7b55f7c1d67dc80b /stdout
parent90de9ab8d0a681a55b85217503e7d5777656a3c9 (diff)
fixed go lint warnings
Diffstat (limited to 'stdout')
-rw-r--r--stdout/stdout_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdout/stdout_test.go b/stdout/stdout_test.go
index 48f9c08..58764cd 100644
--- a/stdout/stdout_test.go
+++ b/stdout/stdout_test.go
@@ -128,11 +128,11 @@ func TestMaxInt(t *testing.T) {
assert.Equal(t, 4, maxInt(4, 2))
}
-func printBuffer(buff *bytes.Buffer) {
- for i, x := range buff.String() {
- println(i, string(x))
- }
-}
+// func printBuffer(buff *bytes.Buffer) {
+// for i, x := range buff.String() {
+// println(i, string(x))
+// }
+// }
func getDevicesInfoMock() device.DevicesInfoGetter {
item := &device.Device{