mirror of
https://codeberg.org/scip/yadu.git
synced 2025-12-16 20:21:00 +01:00
Fix #7: implement AddSource flag, add as message
This commit is contained in:
@@ -115,6 +115,14 @@ var tests = []Tests{
|
||||
Level: slog.LevelError,
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "has-source",
|
||||
want: "handler_test.go",
|
||||
negate: false,
|
||||
opts: yadu.Options{
|
||||
AddSource: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
// check if output is NOT colored when disabling it
|
||||
name: "disable-color",
|
||||
|
||||
Reference in New Issue
Block a user