e3.2.1 Format type text changed to txt for consistency and clarity.
This commit is contained in:
1 parent
162541e53f
commit
ce6b178855
4 files changed
+11
-11
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ func TestSerializer(t *testing.T) {
|
||||
s := newSerializer()
|
||||
timestamp := time.Date(2024, 1, 1, 12, 0, 0, 0, time.UTC)
|
||||
|
||||
t.Run("text format", func(t *testing.T) {
|
||||
t.Run("txt format", func(t *testing.T) {
|
||||
data := s.serialize("txt", FlagDefault, timestamp, LevelInfo, "", []any{"test message", 123})
|
||||
str := string(data)
|
||||
|
||||
|
||||
Reference in new issue
Block a user