Sha256: db3565caefa6894f6e8e50e80ba55248613eea2984ad60fda4c5d3bbf65d3cc1
Contents?: true
Size: 415 Bytes
Versions: 10
Compression:
Stored size: 415 Bytes
Contents
require 'hook-helpers' require 'test_helper' class ScriptsTest < Test::Unit::TestCase include HookHelpers def setup end def teardown end def test_shell_scripts %w[bash fish zsh].each do |sh| source = IO.read(File.join(HOOK_COMPLETIONS_DIR, 'hook_completion.' + sh)) result = hook('scripts', sh) assert_match(source, result, 'Script output should match') end end end
Version data entries
10 entries across 10 versions & 1 rubygems