-
Notifications
You must be signed in to change notification settings - Fork 72
5.2. testing #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.2. testing #94
Conversation
@KeenS 翻訳完了しました。 |
2つ目の変更点は、 `use` 宣言です。 | ||
ここは内部モジュールの中なので、テスト関数をスコープの中に持ち込む必要があります。 | ||
モジュールが大きい場合、これは面倒かもしれないので、ここがグロブの一般的な使い所です。 | ||
`src/lib.rs` をグロブを使うように変更しましょう。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとうございます。
シェルでファイル名をまとめるときに使われる「glob」は「グロブ」とそのままカタカナにされることが多いような気がするのでそのまま「グロブ」としていました。
一般的な日本語訳があれば知りたいです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
たしかに、シェルでは「ファイルグロブ」、Perlでは「型グロブ」とするのが多いようですね。(私はこの言葉を知りませんでした)
念のため @KeenS さんの返事を待ってからマージさせてください。
2点コメントしました。ご確認をお願いします。 |
glob ですが、調べたところ、言葉自体には大した意味がなく、現状のまま「グロブ」とするのが適切なようです。お騒がせしました。 いまの訳と対訳表の内容でOKですので、マージしますね。お疲れさまでした! 詳しい説明: |
No description provided.