mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-20 21:14:04 +02:00
(experimental) upgraded to encoding/json/v2
This commit is contained in:
1 parent
4d4275c9aa
commit
97dd775455
125 files changed
+433
-364
No files matched your search
@@ -2,7 +2,7 @@ package router_test
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"encoding/json/v2"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -428,7 +428,7 @@ func TestUnmarshalRequestData(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
raw, err := json.Marshal(s.dst)
|
||||
raw, err := json.Marshal(s.dst, json.Deterministic(true))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user