Skip to content

Commit

Permalink
more fatals
Browse files Browse the repository at this point in the history
  • Loading branch information
jckras committed Oct 11, 2024
1 parent 428b918 commit 41f4e18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions tests/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ func testVideoPlayback(t *testing.T, videoPath string) {

func TestModuleConfiguration(t *testing.T) {
fullModuleBinPath, err := getModuleBinPath()
if err != nil {
t.Fatalf("Failed to get module binary path: %v", err)
}
test.That(t, err, test.ShouldBeNil)

// Full configuration
config1 := fmt.Sprintf(`
Expand Down
8 changes: 2 additions & 6 deletions tests/fetch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ import (
func TestFetchDoCommand(t *testing.T) {
storageRelativePath := "./video-storage"
storagePath, err := filepath.Abs(storageRelativePath)
if err != nil {
t.Fatalf("Failed to get absolute path: %v", err)
}
test.That(t, err, test.ShouldBeNil)
fullModuleBinPath, err := getModuleBinPath()
if err != nil {
t.Fatalf("Failed to get module bin path: %v", err)
}
test.That(t, err, test.ShouldBeNil)

config1 := fmt.Sprintf(`
{
Expand Down

0 comments on commit 41f4e18

Please sign in to comment.