|
1 | 1 |
|
2 |
| -msgid "Module `tap`" |
| 2 | +#, fuzzy |
| 3 | +msgid "Module tap" |
3 | 4 | msgstr "Модуль `tap`"
|
4 | 5 |
|
5 | 6 | msgid "Overview"
|
@@ -200,9 +201,9 @@ msgid ""
|
200 | 201 | msgstr ""
|
201 | 202 | "Такую проверку следует проводить только по завершении всех запланированных "
|
202 | 203 | "тестов, поэтому как правило, ``taptest:check()`` появится лишь в конце "
|
203 |
| -"скрипта. Тем не менее, в качестве расширения Tarantool, " |
204 |
| -"``taptest:check()`` может появиться в начале любого подтеста. Таким образом," |
205 |
| -" проверка появится в трех случаях:" |
| 204 | +"скрипта. Тем не менее, в качестве расширения Tarantool, ``taptest:check()`` " |
| 205 | +"может появиться в начале любого подтеста. Таким образом, проверка появится в" |
| 206 | +" трех случаях:" |
206 | 207 |
|
207 | 208 | msgid "by calling ``taptest:check()`` at the end of a script,"
|
208 | 209 | msgstr "при вызове ``taptest:check()`` в конце скрипта,"
|
@@ -360,14 +361,35 @@ msgstr ""
|
360 | 361 | "Проверка соответствия значения определенному типу. Отображается длинное "
|
361 | 362 | "сообщение, если значение не принадлежит указанному типу."
|
362 | 363 |
|
| 364 | +msgid "value the type of which is to be checked" |
| 365 | +msgstr "" |
| 366 | + |
| 367 | +msgid "type of data that a passed value should have" |
| 368 | +msgstr "" |
| 369 | + |
| 370 | +msgid "text that will be shown to the user in case of failure" |
| 371 | +msgstr "" |
| 372 | + |
| 373 | +msgid "" |
| 374 | +"test:iscdata(slab_info.quota_size, ffi.typeof('uint64_t'), " |
| 375 | +"'memcached.slab.info().quota_size returns a cdata')" |
| 376 | +msgstr "" |
| 377 | + |
363 | 378 | msgid ""
|
364 | 379 | "Set ``taptest.strict=true`` if :ref:`taptest:is() <taptest-is>` and "
|
365 | 380 | ":ref:`taptest:isnt() <taptest-isnt>` and :ref:`taptest:is_deeply() <taptest-"
|
366 | 381 | "is_deeply>` must be compared strictly with ``nil``. Set "
|
367 | 382 | "``taptest.strict=false`` if ``nil`` and ``box.NULL`` both have the same "
|
368 |
| -"effect. The default is false. For example, if and only if " |
369 |
| -"``taptest.strict=true`` has happened, then ``taptest:is_deeply({a = " |
370 |
| -"box.NULL}, {})`` will return ``false``." |
| 383 | +"effect." |
| 384 | +msgstr "" |
| 385 | + |
| 386 | +msgid "" |
| 387 | +"The default is false. For example, if and only if ``taptest.strict=true`` " |
| 388 | +"has happened, then ``taptest:is_deeply({a = box.NULL}, {})`` will return " |
| 389 | +"``false``." |
| 390 | +msgstr "" |
| 391 | + |
| 392 | +msgid "Note that ``taptest.strict`` is the same for all subtests:" |
371 | 393 | msgstr ""
|
372 | 394 |
|
373 | 395 | msgid "Example"
|
@@ -431,3 +453,16 @@ msgstr ""
|
431 | 453 | " ok - 2 + 3 is not 4\n"
|
432 | 454 | " # Some subtests for test2: end\n"
|
433 | 455 | "ok - some subtests for test2"
|
| 456 | + |
| 457 | +#~ msgid "" |
| 458 | +#~ "Set ``taptest.strict=true`` if :ref:`taptest:is() <taptest-is>` and " |
| 459 | +#~ ":ref:`taptest:isnt() <taptest-isnt>` and :ref:`taptest:is_deeply() <taptest-" |
| 460 | +#~ "is_deeply>` must be compared strictly with ``nil``. Set " |
| 461 | +#~ "``taptest.strict=false`` if ``nil`` and ``box.NULL`` both have the same " |
| 462 | +#~ "effect. The default is false. For example, if and only if " |
| 463 | +#~ "``taptest.strict=true`` has happened, then ``taptest:is_deeply({a = " |
| 464 | +#~ "box.NULL}, {})`` will return ``false``." |
| 465 | +#~ msgstr "" |
| 466 | + |
| 467 | +#~ msgid "Note that ``taptest.strict`` is the same for subtests:" |
| 468 | +#~ msgstr "" |
0 commit comments