Skip to content

Commit 79aabdd

Browse files
committed
chore(cmd): formatter cleanup
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
1 parent f3b2ec6 commit 79aabdd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/firmware-action/recipes/linux_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func TestLinux(t *testing.T) {
7979
tmpDir := t.TempDir()
8080

8181
myLinuxOpts := linuxOpts
82-
myLinuxOpts.SdkURL = fmt.Sprintf("ghcr.io/9elements/firmware-action/linux_%d.%d:main", linuxVersion.Major(), linuxVersion.Minor() )
82+
myLinuxOpts.SdkURL = fmt.Sprintf("ghcr.io/9elements/firmware-action/linux_%d.%d:main", linuxVersion.Major(), linuxVersion.Minor())
8383
myLinuxOpts.Arch = tc.arch
8484
myLinuxOpts.RepoPath = filepath.Join(tmpDir, "linux")
8585

@@ -111,7 +111,7 @@ func TestLinux(t *testing.T) {
111111
}
112112
}
113113
// always copy from __tmp_files__ to tmpDir for each test
114-
commands = append(commands, []string{"cp", "-r", fmt.Sprintf("linux-%s", tc.linuxVersion ), myLinuxOpts.RepoPath})
114+
commands = append(commands, []string{"cp", "-r", fmt.Sprintf("linux-%s", tc.linuxVersion), myLinuxOpts.RepoPath})
115115
for _, cmd := range commands {
116116
err = exec.Command(cmd[0], cmd[1:]...).Run()
117117
assert.NoError(t, err)
@@ -127,7 +127,7 @@ func TestLinux(t *testing.T) {
127127
// repoRootPath = path to our repository with this code (contains configuration files for testing)
128128
defconfigLocalPath, err := filepath.Abs(filepath.Join(
129129
repoRootPath,
130-
fmt.Sprintf("tests/linux_%d.%d/linux.defconfig", linuxVersion.Major(), linuxVersion.Minor() ),
130+
fmt.Sprintf("tests/linux_%d.%d/linux.defconfig", linuxVersion.Major(), linuxVersion.Minor()),
131131
))
132132
assert.NoErrorf(t, err, "encountered issue with missing files, is '%s' the root of the repo?", repoRootPath)
133133
err = filesystem.CopyFile(

0 commit comments

Comments
 (0)