Fix last typos (#678)

This commit is contained in:
Viktor Szépe
2023-09-18 14:53:57 +02:00
committed by GitHub
parent 275af2a886
commit d01c0cea32
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ Usage: $0 [OPTIONS]
--build_rpm If it is set - rpm will be built
--build_deb If it is set - deb will be built
--build_tarball If it is set - tarball will be built
--install_deps Install build dependencies(root privilages are required)
--install_deps Install build dependencies(root privileges are required)
--branch Branch for build
--repo Repo for build
--help) usage ;;

View File

@@ -107,8 +107,8 @@ func TestIndividualFiles(t *testing.T) {
if err != nil {
t.Errorf("test %s, error running command %s:\n%s\n\nCommand output:\n%s", test.name, test.cmd[0], err.Error(), out)
}
if test.preprocesor(bytes.NewBuffer(out).String()) != strings.Join(test.want, "\n") {
t.Errorf("test %s, output is not as expected\nOutput: %s\nWanted: %s", test.name, test.preprocesor(bytes.NewBuffer(out).String()), test.want)
if test.preprocessor(bytes.NewBuffer(out).String()) != strings.Join(test.want, "\n") {
t.Errorf("test %s, output is not as expected\nOutput: %s\nWanted: %s", test.name, test.preprocessor(bytes.NewBuffer(out).String()), test.want)
}
}
}