diff options
author | xengineering <me@xengineering.eu> | 2023-06-30 13:57:52 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-06-30 13:57:52 +0200 |
commit | 3dc04660a87e1b9fabeea0e55a8511d80d34a694 (patch) | |
tree | 8f6177e668c2737705949bc2fed200eb5e19a974 | |
parent | d7a537267e8bf5631e29ed97218e213da88f3490 (diff) | |
download | limox-3dc04660a87e1b9fabeea0e55a8511d80d34a694.tar limox-3dc04660a87e1b9fabeea0e55a8511d80d34a694.tar.zst limox-3dc04660a87e1b9fabeea0e55a8511d80d34a694.zip |
Apply go fmt
-rw-r--r-- | xmpp/element_buffer_test.go | 4 | ||||
-rw-r--r-- | xmpp/router_test.go | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/xmpp/element_buffer_test.go b/xmpp/element_buffer_test.go index 113a2c4..af3d5c2 100644 --- a/xmpp/element_buffer_test.go +++ b/xmpp/element_buffer_test.go @@ -11,8 +11,8 @@ import ( // which has to be exactly one XML element and an array of indentation levels // which have to be checked after each token which is parsed. type bufTest struct { - xml string - levels []int + xml string + levels []int } func TestElementBuffer(t *testing.T) { diff --git a/xmpp/router_test.go b/xmpp/router_test.go index 41484c5..b490778 100644 --- a/xmpp/router_test.go +++ b/xmpp/router_test.go @@ -2,8 +2,8 @@ package xmpp import ( "encoding/xml" - "testing" "strings" + "testing" ) // routerTest contains a single test case for the xmpp.router. The XML element @@ -11,8 +11,8 @@ import ( // test variable inside the corresponding unit test. See TestRouter for // details. type routerTest struct { - xml string - value int + xml string + value int } // TestRouter tests the xmpp/router.go file. The central functionality is the |