Skip to content

Commit

Permalink
Fix duplicated module names
Browse files Browse the repository at this point in the history
  • Loading branch information
aradi committed Aug 9, 2024
1 parent e84b540 commit 4ebe599
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/fypp/fixtured_fypp_tests.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#:include "fortuno.fypp"

module fixtured_fypp_tests
use mylib, only : factorial
use mylib_fypp, only : factorial
use fortuno_serial, only : char_rep_int, check => serial_check, is_equal, named_state,&
& named_item, suite => serial_suite_item, store_state => serial_store_state,&
& serial_case_base, test_item
Expand Down
4 changes: 2 additions & 2 deletions example/fypp/mylib.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
! SPDX-License-Identifier: BSD-2-Clause-Patent

!> Demo module/library to be tested
module mylib
module mylib_fypp
implicit none

private
Expand Down Expand Up @@ -31,4 +31,4 @@ function factorial(nn) result(fact)

end function factorial

end module mylib
end module mylib_fypp
2 changes: 1 addition & 1 deletion example/fypp/parametrized_fypp_tests.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#:include "fortuno.fypp"

module parametrized_fypp_tests
use mylib, only : factorial
use mylib_fypp, only : factorial
use fortuno_serial, only : as_char, is_equal, serial_case_base, check => serial_check,&
& suite => serial_suite_item, test_item
implicit none
Expand Down
2 changes: 1 addition & 1 deletion example/fypp/simple_fypp_tests.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#:include "fortuno.fypp"

module simple_fypp_tests
use mylib, only : factorial
use mylib_fypp, only : factorial
use fortuno_serial, only : is_equal, test => serial_case_item, check => serial_check,&
& suite => serial_suite_item, test_item
implicit none
Expand Down
4 changes: 2 additions & 2 deletions example/fypp/testapp.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
! SPDX-License-Identifier: BSD-2-Clause-Patent

!> Test app with command line interface, collecting and executing the tests.
program testapp
program testapp_fypp
use fortuno_serial, only : execute_serial_cmd_app
use simple_fypp_tests, only : simple_fypp_test_items
use fixtured_fypp_tests, only : fixtured_fypp_test_items
Expand All @@ -18,4 +18,4 @@ program testapp
]&
)

end program testapp
end program testapp_fypp

0 comments on commit 4ebe599

Please sign in to comment.