From 602ca07bb0c21d9484124697e2202660179cf00d Mon Sep 17 00:00:00 2001 From: Pascal Grange Date: Wed, 28 Sep 2022 22:00:07 +0200 Subject: [PATCH] prepare release v2.0.1 --- bash_unit | 2 +- docs/man/man1/bash_unit.1 | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bash_unit b/bash_unit index f68b839..a514217 100755 --- a/bash_unit +++ b/bash_unit @@ -16,7 +16,7 @@ # # https://github.com/pgrange/bash_unit -VERSION=v2.0.0 +VERSION=v2.0.1 ESCAPE=$(printf "\033") NOCOLOR="${ESCAPE}[0m" diff --git a/docs/man/man1/bash_unit.1 b/docs/man/man1/bash_unit.1 index 883984b..2320557 100644 --- a/docs/man/man1/bash_unit.1 +++ b/docs/man/man1/bash_unit.1 @@ -2,12 +2,12 @@ .\" Title: bash_unit .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.17 -.\" Date: 2022-06-17 +.\" Date: 2022-09-28 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "BASH_UNIT" "1" "2022-06-17" "\ \&" "\ \&" +.TH "BASH_UNIT" "1" "2022-09-28" "\ \&" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -620,7 +620,7 @@ Asserts that the content of the file \fIactual\fP does not have any differences .nf .fam C test_obvious_notmatching_with_assert_no_diff(){ - assert_no_diff bash_unit README.adoc "content of \*(AqREADME.adoc\*(Aq should be the same as \*(Aqbash_unit\*(Aq" + assert_no_diff <(echo foo) <(echo bar) } test_obvious_matching_with_assert_assert_no_diff(){ assert_no_diff bash_unit bash_unit @@ -634,8 +634,11 @@ test_obvious_matching_with_assert_assert_no_diff(){ .fam C Running test_obvious_matching_with_assert_assert_no_diff ... SUCCESS Running test_obvious_notmatching_with_assert_no_diff ... FAILURE -content of \*(AqREADME.adoc\*(Aq should be the same as \*(Aqbash_unit\*(Aq - expected \*(AqREADME.adoc\*(Aq to be identical to \*(Aqbash_unit\*(Aq but was different + expected \*(Aqdoc\*(Aq to be identical to \*(Aqdoc\*(Aq but was different +out> 1c1 +out> < foo +out> \-\-\- +out> > bar doc:2:test_obvious_notmatching_with_assert_no_diff() .fam .fi