diff --git a/locale/cs/LC_MESSAGES/index.po b/locale/cs/LC_MESSAGES/index.po index 7dab8eaaa..d26bc1765 100644 --- a/locale/cs/LC_MESSAGES/index.po +++ b/locale/cs/LC_MESSAGES/index.po @@ -2727,7 +2727,7 @@ msgid "" msgstr "" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" +msgid "test/check.f90" msgstr "" #: ../../pages/tutorial/dependencies.md:96 diff --git a/locale/de/LC_MESSAGES/index.po b/locale/de/LC_MESSAGES/index.po index 94d0efb26..c5ea2b952 100644 --- a/locale/de/LC_MESSAGES/index.po +++ b/locale/de/LC_MESSAGES/index.po @@ -3268,8 +3268,8 @@ msgstr "" "einer Zeile als Test hinzufügen" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" -msgstr "test/main.f90" +msgid "test/check.f90" +msgstr "test/check.f90" #: ../../pages/tutorial/dependencies.md:96 msgid "We run our new test using fpm" diff --git a/locale/es/LC_MESSAGES/index.po b/locale/es/LC_MESSAGES/index.po index 9aca0f25c..797d71ebc 100644 --- a/locale/es/LC_MESSAGES/index.po +++ b/locale/es/LC_MESSAGES/index.po @@ -3387,8 +3387,8 @@ msgstr "" "caso de prueba" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" -msgstr "test/main.f90" +msgid "test/check.f90" +msgstr "test/check.f90" #: ../../pages/tutorial/dependencies.md:96 msgid "We run our new test using fpm" diff --git a/locale/fr/LC_MESSAGES/index.po b/locale/fr/LC_MESSAGES/index.po index 0197a4931..7a1dae198 100644 --- a/locale/fr/LC_MESSAGES/index.po +++ b/locale/fr/LC_MESSAGES/index.po @@ -3606,8 +3606,8 @@ msgstr "" "ligne comme unique test" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" -msgstr "test/main.f90" +msgid "test/check.f90" +msgstr "test/check.f90" #: ../../pages/tutorial/dependencies.md:96 msgid "We run our new test using fpm" diff --git a/locale/ja/LC_MESSAGES/index.po b/locale/ja/LC_MESSAGES/index.po index c1564056b..7acd22324 100644 --- a/locale/ja/LC_MESSAGES/index.po +++ b/locale/ja/LC_MESSAGES/index.po @@ -2961,7 +2961,7 @@ msgid "" msgstr "ここで作成している関数はそれ単体で動作するため,単純な単体テストを記述できます.入力を生成して出力を取得する単体機能を作成することにします.とりあえず,単純な1行の差し替えを,一つのテストケースとして追加します." #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" +msgid "test/check.f90" msgstr "" #: ../../pages/tutorial/dependencies.md:96 diff --git a/locale/nl/LC_MESSAGES/index.po b/locale/nl/LC_MESSAGES/index.po index 978c52eea..78d6dfbef 100644 --- a/locale/nl/LC_MESSAGES/index.po +++ b/locale/nl/LC_MESSAGES/index.po @@ -3330,7 +3330,7 @@ msgstr "" "vangen. Voor het moment is die test een substitutie in een enkele regel." #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" +msgid "test/check.f90" msgstr "" #: ../../pages/tutorial/dependencies.md:96 diff --git a/locale/pt/LC_MESSAGES/index.po b/locale/pt/LC_MESSAGES/index.po index ccaac2228..167316569 100644 --- a/locale/pt/LC_MESSAGES/index.po +++ b/locale/pt/LC_MESSAGES/index.po @@ -3366,8 +3366,8 @@ msgstr "" "em uma linha como um caso de teste" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" -msgstr "test/main.f90" +msgid "test/check.f90" +msgstr "test/check.f90" #: ../../pages/tutorial/dependencies.md:96 msgid "We run our new test using fpm" diff --git a/locale/ru/LC_MESSAGES/index.po b/locale/ru/LC_MESSAGES/index.po index 867fec1c9..0a5377a97 100644 --- a/locale/ru/LC_MESSAGES/index.po +++ b/locale/ru/LC_MESSAGES/index.po @@ -2727,7 +2727,7 @@ msgid "" msgstr "" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" +msgid "test/check.f90" msgstr "" #: ../../pages/tutorial/dependencies.md:96 diff --git a/locale/zh_CN/LC_MESSAGES/index.po b/locale/zh_CN/LC_MESSAGES/index.po index c20f4b52e..a2e97d068 100644 --- a/locale/zh_CN/LC_MESSAGES/index.po +++ b/locale/zh_CN/LC_MESSAGES/index.po @@ -3030,8 +3030,8 @@ msgid "" msgstr "现在我们可以编写一个简单的单元测试。因为我们的函数执行需要文件通道,我们将创建暂存(scratch)通道来创建输入并捕获输出。现在,我们将添加一个简单的单行替换作为单个测试用例:" #: ../../pages/tutorial/dependencies.md:91 -msgid "test/main.f90" -msgstr "test/main.f90" +msgid "test/check.f90" +msgstr "test/check.f90" #: ../../pages/tutorial/dependencies.md:96 msgid "We run our new test using fpm" diff --git a/pages/tutorial/dependencies.md b/pages/tutorial/dependencies.md index 452989dc2..8fddc1499 100644 --- a/pages/tutorial/dependencies.md +++ b/pages/tutorial/dependencies.md @@ -87,9 +87,9 @@ For a development dependency like a testing framework we choose a strict version Now we can write a simple unit test, since our function works with units, we will create scratch units to create the input and capture the output. For now we will add a simple one line substitution as single test case -```{literalinclude} ../../src/tutorial/dependencies/test/main.f90 +```{literalinclude} ../../src/tutorial/dependencies/test/check.f90 :language: fortran -:caption: test/main.f90 +:caption: test/check.f90 ``` We run our new test using fpm @@ -121,9 +121,9 @@ Our final main program looks like [M\_CLI2]: https://github.com/urbanjost/M_CLI2 -```{literalinclude} ../../src/tutorial/dependencies/app/main.f90 +```{literalinclude} ../../src/tutorial/dependencies/app/check.f90 :language: fortran -:caption: app/main.f90 +:caption: app/check.f90 ``` Again we run a quick check using fpm diff --git a/src/tutorial/dependencies/test/main.f90 b/src/tutorial/dependencies/test/check.f90 similarity index 100% rename from src/tutorial/dependencies/test/main.f90 rename to src/tutorial/dependencies/test/check.f90