bats/options.bats in markdown_exec-2.4.0 vs bats/options.bats in markdown_exec-2.5.0

- old
+ new

@@ -15,24 +15,29 @@ BATS_OUTPUT_FILTER=A spec_mde_args_expect --block-name bash1 docs/dev/specs.md \ ' bash1!' } -@test 'Options - find' { - run_mde_specs_md_args_expect_xansi --find search \ - 'Searching in: . In directory names ./docs/research In file names ./examples/search.md' +@test 'Options - find, find-path in directory names' { + run_mde_specs_md_args_expect_xansi --find-path ./docs --find search \ + 'Searching in: ./docs In directory names ./docs/research' } +@test 'Options - find, find-path in file names' { + run_mde_specs_md_args_expect_xansi --find-path ./examples --find search \ + 'Searching in: ./examples In file names ./examples/search.md' +} + @test 'Options - list blocks' { BATS_OUTPUT_FILTER=A spec_mde_args_expect --list-blocks-message oname --list-blocks-type 0 examples/colors.md --list-blocks \ - '(document_options) load_colors load_colors2 Bash1 Link1 Opts1 Port1 Vars1' + 'load_colors load_colors2 Bash1 Edit1 History1 Link1 Load1 Opts1 Port1 Save1 Vars1' } @test 'Options - list blocks, eval' { BATS_OUTPUT_FILTER=A spec_mde_args_expect --list-blocks-eval block.oname examples/colors.md --list-blocks \ - '(document_options) load_colors load_colors2 Bash1 Link1 Opts1 Port1 Vars1' + 'load_colors load_colors2 Bash1 Edit1 History1 Link1 Load1 Opts1 Port1 Save1 Vars1' } @test 'Options - how' { spec_mde_args_expect --how how \ "prompt_show_expr_format: 'Expr: %{expr}' # prompt_show_expr_format"