Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stricter, simpler diff usage #3

Open
wants to merge 1 commit into
base: patch-8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/4-describe-data-3-zero-delim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if ! $DUB describe --compiler=$DC --data-0 --data-list \
die 'Printing null-delimited list-style project data failed!'
fi

if ! diff -Z "$temp_file_normal" "$temp_file_zero_delim"; then
if ! diff "$temp_file_normal" "$temp_file_zero_delim"; then
die 'The null-delimited list-style project data did not match the expected output!'
fi

Expand All @@ -86,7 +86,7 @@ if ! $DUB describe --compiler=$DC --data-0 --import-paths \
die 'Printing null-delimited --import-paths failed!'
fi

if ! diff -Z -B "$temp_file_normal" "$temp_file_zero_delim"; then
if ! diff "$temp_file_normal" "$temp_file_zero_delim"; then
die 'The null-delimited --import-paths data did not match the expected output!'
fi

Expand All @@ -107,7 +107,7 @@ if ! $DUB describe --compiler=$DC --data-0 --data=versions \
die 'Printing null-delimited dmd-style --data=versions failed!'
fi

if ! diff -Z "$temp_file_normal" "$temp_file_zero_delim"; then
if ! diff "$temp_file_normal" "$temp_file_zero_delim"; then
die 'The null-delimited dmd-style --data=versions did not match the expected output!'
fi

Expand All @@ -122,6 +122,6 @@ if ! $DUB describe --compiler=$DC --data-0 --data=source-files \
die 'Printing null-delimited dmd-style --data=source-files failed!'
fi

if ! diff -Z "$temp_file_normal" "$temp_file_zero_delim"; then
if ! diff "$temp_file_normal" "$temp_file_zero_delim"; then
die 'The null-delimited dmd-style --data=source-files did not match the expected output!'
fi