mirror of
https://github.com/project-zot/zot.git
synced 2026-06-19 05:57:57 +08:00
refactor(test): add lint rule for messages starting with the component (#2045)
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com> Signed-off-by: Laurentiu Niculae <niculae.laurentiu1@gmail.com> Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -8950,7 +8950,7 @@ func TestPeriodicGC(t *testing.T) {
|
||||
So(err, ShouldBeNil)
|
||||
So(string(data), ShouldContainSubstring,
|
||||
"\"GC\":true,\"Commit\":false,\"GCDelay\":1000000000,\"GCInterval\":3600000000000")
|
||||
So(string(data), ShouldContainSubstring, "failure walking storage root-dir") //nolint:lll
|
||||
So(string(data), ShouldContainSubstring, "failed to walk storage root-dir") //nolint:lll
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user