Skip to content

Commit 0646fac

Browse files
committed
Fix invalid compile flag check in test
1 parent d810d87 commit 0646fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fpm_test/test_compiler.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ subroutine test_check_fortran_source_runs(error)
7676
call test_failed(error, "Invalid compile flags did not trigger an error")
7777
return
7878
end if
79-
if (compiler%check_flags_supported(compile_flags='-unknown-flag')) then
79+
if (compiler%check_flags_supported(compile_flags='-not-a-compile-flag')) then
8080
call test_failed(error, "Invalid compile flags did not trigger an error")
8181
return
8282
end if

0 commit comments

Comments
 (0)