github.com/tada-team/tdproto@v1.51.57/codegen/inspect_test.go (about) 1 package codegen 2 3 import ( 4 "testing" 5 ) 6 7 func TestParsing(t *testing.T) { 8 _, err := ParseTdproto() 9 if err != nil { 10 t.Error(err) 11 } 12 } 13 14 func TestConverter(t *testing.T) { 15 if SnakeCaseToLowerCamel("test_string") != "testString" { 16 t.Fatal("Failed snake case converter") 17 } 18 }