Explorar el Código

First test with bats

DricomDragon hace 5 años
padre
commit
d1efaf5681
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      test.bats

+ 6 - 0
test.bats

@@ -0,0 +1,6 @@
+#!/usr/bin/bats
+
+@test "Print one number" {
+    result="$(echo '42=' | ./eval.out)"
+    [ "$result" = "42" ]
+}