(t *testing.T)
| 328 | } |
| 329 | |
| 330 | func TestRequest(t *testing.T) { |
| 331 | assert.PanicsWithValue(t, `http.NewRequest failed: parse "http://localhost%": invalid URL escape "%"`, func() { |
| 332 | // invalid URL escape - should panic (with a prefix in message) |
| 333 | _ = Request(http.MethodGet, "%", "") |
| 334 | }) |
| 335 | } |
| 336 | |
| 337 | func TestUtilitiesProposeChangesBatch(t *testing.T) { |
| 338 | // Currently proposeChanges sends the full history to match the Couchbase Lite 4.0.0 implementation. When CBL |