Skip to content

Commit

Permalink
saving work
Browse files Browse the repository at this point in the history
  • Loading branch information
roddy3 committed Apr 9, 2022
1 parent ca37d3e commit 8347c59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions TemplateVideo/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ func Test_cmdTrimLengthOfVideo(t *testing.T) {
want *exec.Cmd
}{
{
" get correct video duration",
args{duration: "1000",
" ffmpeg command for triming video",
args{duration: "30",
tempPath: "./temp"},
exec.Command("ffmpeg",
"-i", "./temp"+"/merged_video.mp4",
Expand Down Expand Up @@ -287,7 +287,7 @@ func Test_cmdAddBackgroundMusic(t *testing.T) {
want *exec.Cmd
}{
{
" say what it does ",
" Checking the backgroundAudioPath and the volume ",
args{backgroundAudioPath: "./music-intro-Jn.mp3",
volume: ""},

Expand Down Expand Up @@ -321,11 +321,11 @@ func Test_cmdCopyFile(t *testing.T) {
want *exec.Cmd
}{
{
" checking the video path ",
args{oldPath: "",
newPath: ""},
" checking the video oldpath and NewpPath ",
args{oldPath: "./oldPath",
newPath: "./newPath"},

exec.Command("ffmpeg", "-i", oldPath, "-y", newPath),
exec.Command("ffmpeg", "-i", "./oldPath", "-y", "./newPath"),
},
}

Expand Down

0 comments on commit 8347c59

Please sign in to comment.