Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion locale/cs/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions locale/de/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions locale/es/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions locale/fr/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion locale/ja/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion locale/nl/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions locale/pt/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion locale/ru/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions locale/zh_CN/LC_MESSAGES/index.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions pages/tutorial/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down