Skip to content

Commit

Permalink
. F first tests
Browse files Browse the repository at this point in the history
Co-Authored-By: blade290 <[email protected]>
Co-Authored-By: Nitsan Avni <[email protected]>
Co-Authored-By: Samuel Taggart <[email protected]>
Co-Authored-By: Nazee Hajebi <[email protected]>
Co-Authored-By: T. E. Green <[email protected]>
  • Loading branch information
6 people committed Oct 29, 2023
1 parent 3eced81 commit ddf24f1
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions approved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello world!
3 changes: 3 additions & 0 deletions hello-world-test.jq
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import "hello-world" as helloWorld;

helloWorld::hello_world
9 changes: 0 additions & 9 deletions hello-world.iml

This file was deleted.

2 changes: 2 additions & 0 deletions hello-world.jq
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def hello_world:
"Hello world!";
1 change: 1 addition & 0 deletions received.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello world!
1 change: 1 addition & 0 deletions recieved.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello world!
3 changes: 2 additions & 1 deletion run_tests.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
npm run test:ci
jq -L . -nrf hello-world-test.jq > received.txt
FC received.txt approved.txt
3 changes: 2 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh

sh -c "$(cat run_tests.bat)"
jq -L . -nrf hello-world-test.jq > received.txt
diff received.txt approved.txt

0 comments on commit ddf24f1

Please sign in to comment.