(t *testing.T)
| 217 | } |
| 218 | |
| 219 | func TestBadInputNumericBaseName(t *testing.T) { |
| 220 | data := []byte("[ { \"bn\": \"/3h\" , \"n\":\"i\" , \"v\":1.0} ] ") |
| 221 | _, err := senml.Decode(data, senml.JSON) |
| 222 | if err == nil { |
| 223 | t.Fail() |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | // TODO add |
| 228 | //func TestBadInputUnknownMtuField(t *testing.T) { |