Sha256: 3b90c6efdd8b692c2db60d4066f77e2bbaf47ee6803e00147d7faf11d37fbfc4

Contents?: true

Size: 953 Bytes

Versions: 1

Compression:

Stored size: 953 Bytes

Contents

#!/usr/bin/env bats

load 'test_helper'

@test 'Options - history' {
  local log_files="$(ls -1 logs/*examples_save_md*)"
  spec_mde_args_expect examples/save.md --history \
   "$log_files"
}

@test 'Options - history, dig' {
  skip 'test hangs on menu'
  local log_files="$(ls -1 logs/*)"
  spec_mde_args_expect --history --dig \
   "$log_files"
}

@test 'Options - history, probe' {
  local log_files="$(grep --files-with-matches '04:31' logs/* 2>/dev/null)"
  spec_mde_args_expect examples/save.md --probe '04:31' --history \
   "$log_files"
}

@test 'Options - history, sift' {
  local log_files="$(ls -1 logs/*-31-*examples_save_md*)"
  spec_mde_args_expect examples/save.md --sift -31- --history \
   "$log_files"
}

@test 'Options - history, sift and probe' {
  local log_files="$(grep --files-with-matches 'e' logs/*-31-*examples_save_md* 2>/dev/null)"
  spec_mde_args_expect examples/save.md --sift -31- --probe e --history \
   "$log_files"
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown_exec-2.4.0 bats/history.bats