Skip to content

Commit 31baae0

Browse files
perazzCopilot
andauthored
Update test/fpm_test/test_source_parsing.f90
Co-authored-by: Copilot <[email protected]>
1 parent 8ca69d2 commit 31baae0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/fpm_test/test_source_parsing.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,20 +1439,20 @@ subroutine test_conditional_if_defined(error)
14391439
call test_failed(error, 'Expected "some_module" dependency with SOME_FEATURE and SIMPLE_MACRO defined')
14401440
return
14411441
end if
1442-
if (.not.('other_module' .in. f_source%modules_used)) then ! some_module
1442+
if (.not.('other_module' .in. f_source%modules_used)) then ! other_module
14431443
call test_failed(error, 'Expected "other_module" dependency with SOME_FEATURE and SIMPLE_MACRO defined')
14441444
return
14451445
end if
1446-
if (.not.('third_module' .in. f_source%modules_used)) then ! some_module
1446+
if (.not.('third_module' .in. f_source%modules_used)) then ! third_module
14471447
call test_failed(error, 'Expected "third_module" dependency with SOME_FEATURE and SIMPLE_MACRO defined')
14481448
return
14491449
end if
1450-
if (.not.('fifth_module' .in. f_source%modules_used)) then ! some_module
1450+
if (.not.('fifth_module' .in. f_source%modules_used)) then ! fifth_module
14511451
call test_failed(error, 'Expected "fifth_module" dependency with SOME_FEATURE and SIMPLE_MACRO defined')
14521452
return
14531453
end if
14541454

1455-
if (size(f_source%modules_used) /= 4) then ! some_module
1455+
if (size(f_source%modules_used) /= 4) then ! all modules
14561456
call test_failed(error, 'Expected 4 module dependencies with SOME_FEATURE and SIMPLE_MACRO defined')
14571457
return
14581458
end if

0 commit comments

Comments
 (0)