Fix string-compare
This commit is contained in:
parent
73d05d80ae
commit
47c5b7edf3
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@ test_link_modificates() {
|
||||||
|
|
||||||
imag-link internal add --from "test" --to "test2"
|
imag-link internal add --from "test" --to "test2"
|
||||||
|
|
||||||
if [[ "$(default_entry)" -eq "$(cat_entry 'test')" ]] ||
|
if [ "$(default_entry)" == "$(cat_entry 'test')" ] ||
|
||||||
[[ "$(default_entry)" -eq "$(cat_entry 'test2')" ]]
|
[ "$(default_entry)" == "$(cat_entry 'test2')" ]
|
||||||
then
|
then
|
||||||
err "Entry was unmodified after linking"
|
err "Entry was unmodified after linking"
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue