(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestAsciiEncoding(t *testing.T) { |
| 86 | encoder := NewEncoder('.', '_') |
| 87 | |
| 88 | data, err := encoder.Encode("asciiOnly") |
| 89 | require.NoError(t, err) |
| 90 | require.NotEqual(t, UTF_8, data.GetEncoding(), "Encoding should not be UTF-8 for ASCII strings") |
| 91 | } |
| 92 | |
| 93 | func TestNonAsciiEncoding(t *testing.T) { |
| 94 | encoder := NewEncoder('.', '_') |
nothing calls this directly
no test coverage detected