moby--moby/testutil
Eng Zer Jun 7873c27cfb
all: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-09 19:45:40 +08:00
..
daemon testutil/daemon: remove redundant fmt.Sprintf()'s 2022-02-15 12:49:35 +01:00
environment all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
fakecontext refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakegit refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fakestorage refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
fixtures refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
registry refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
request refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
doc.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helper.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
helpers.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
stringutils.go gosec: G404: Use of weak random number generator 2021-06-10 13:03:18 +02:00
stringutils_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00