]> Cypherpunks.ru repositories - gostls13.git/blobdiff - doc/articles/wiki/test.bash
*.bash: always use the same string equality operator
[gostls13.git] / doc / articles / wiki / test.bash
index 8bbb7347501bf9a9a60d4a65a77b1e38f6aa1508..cec51fd3de3a87087c93cbfd92ad75960a4d787d 100755 (executable)
@@ -20,7 +20,7 @@ trap cleanup 0 INT
 rm -f get.bin final-test.bin a.out
 
 # If called with -all, check that all code snippets compile.
-if [ "$1" == "-all" ]; then
+if [ "$1" = "-all" ]; then
        for fn in *.go; do
                go build -o a.out $fn
        done