diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-11-16 16:05:23 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-11-16 16:05:23 +0300 |
commit | dcb802358b8f7d8a72da04cce71b2dcc0f6a2fbc (patch) | |
tree | e91ded403ca90db70bc07c24acc07d110d588738 /telegram/client_test.go | |
parent | 6bd837911431ef68d23de1bcbb75893edd39a32b (diff) |
Fix tests
Diffstat (limited to 'telegram/client_test.go')
-rw-r--r-- | telegram/client_test.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/telegram/client_test.go b/telegram/client_test.go deleted file mode 100644 index 4c757e1..0000000 --- a/telegram/client_test.go +++ /dev/null @@ -1,19 +0,0 @@ -package telegram - -import ( - "testing" -) - -func TestLogInfo(t *testing.T) { - tdlibConstant := stringToLogConstant(":info") - if tdlibConstant != 3 { - t.Errorf("Wrong TDlib constant for info") - } -} - -func TestLogInvalid(t *testing.T) { - tdlibConstant := stringToLogConstant("ziz") - if tdlibConstant != 0 { - t.Errorf("Unknown strings should return fatal loglevel") - } -} |