Improve Test [Exporter] JSON Exporter (#11)
- [+] fix(exporter_test.go): change type of messages from map[string]interface{} to map[string]any Reviewed-on: #11 Co-authored-by: H0llyW00dzZ <h0llyw00dzz@pm.me> Co-committed-by: H0llyW00dzZ <h0llyw00dzz@pm.me>
This commit is contained in:
parent
f22bed1f12
commit
2dab893c8e
@ -15,7 +15,7 @@ import (
|
|||||||
|
|
||||||
func TestJSONExporter(t *testing.T) {
|
func TestJSONExporter(t *testing.T) {
|
||||||
// Create a sample message
|
// Create a sample message
|
||||||
messages := []map[string]interface{}{
|
messages := []map[string]any{
|
||||||
{
|
{
|
||||||
"id": "1",
|
"id": "1",
|
||||||
"from": []string{"contact@example.org"},
|
"from": []string{"contact@example.org"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user