mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
22 lines
516 B
Bash
Executable File
22 lines
516 B
Bash
Executable File
#! /usr/bin/env bash
|
|
source "../test-helper.sh"
|
|
source "../../src/lib/parse-dotfile-options.sh"
|
|
|
|
#
|
|
# parse-dotfile-options()
|
|
#
|
|
|
|
stub "parse-dotfile-root_link-option"
|
|
stub "parse-dotfile-default_action-option"
|
|
|
|
parse-dotfile-options
|
|
assert 'echo "$OPT_ROOT_LINK"' \
|
|
"parse-dotfile-root_link-option stub: "
|
|
assert 'echo "$OPT_DEFAULT_ACTION"' \
|
|
"parse-dotfile-default_action-option stub: "
|
|
|
|
restore "parse-dotfile-root_link-option"
|
|
restore "parse-dotfile-default_link-option"
|
|
|
|
assert_end "parse-dotfile-options()"
|