Skip to content

Commit 0a851b8

Browse files
committed
Fix review points
1 parent a5a20e3 commit 0a851b8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/testing.jax

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ assert_false({actual} [, {msg}]) *assert_false()*
539539
|assert_equal()|と同様に、{actual}がfalseでない場合、|v:errors|
540540
にエラーメッセージを追加する。
541541
エラーは "Expected false but got {actual}" という形式である。
542-
{msg} が存在する場合は、その接頭辞が付けられる
542+
{msg} が存在する場合は、その前に置かれる
543543
|assert-return| も参照。
544544

545545
ゼロである時、その値はfalseである。{actual}が数値でない場合、
@@ -553,15 +553,14 @@ assert_inrange({lower}, {upper}, {actual} [, {msg}]) *assert_inrange()*
553553
り小さいか{upper}より大きい場合、|v:errors|にエラーメッセージ
554554
が追加される。|assert-return| も参照。
555555
エラーは "Expected range {lower} - {upper}, but got {actual}"
556-
という形式である。{msg} が存在する場合は、その接頭辞が付けられ
557-
る。
556+
という形式である。{msg} が存在する場合は、その前に置かれる。
558557

559558
*assert_match()*
560559
assert_match({pattern}, {actual} [, {msg}])
561560
{pattern}{actual}と一致しない場合、|v:errors|にエラーメッセー
562561
ジが追加される。|assert-return| も参照。
563562
エラーは "Pattern {pattern} does not match {actual}" という形
564-
式である。{msg} が存在する場合は、その接頭辞が付けられる
563+
式である。{msg} が存在する場合は、その前に置かれる
565564

566565
|=~|と同じように{pattern}が使われる: マッチングは 'magic'
567566
'cpoptions' の実際の値に関係なく、'magic' が設定され、

0 commit comments

Comments
 (0)