Skip to content

Commit

Permalink
start on tanco test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
tangentstorm committed Feb 13, 2024
1 parent f446105 commit 741354e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .tanco
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"targets": {
"main": {
"args": [
"node", "imp-cmd.mjs"
],
"shell": true
}
},
"test_plan": "imp-tests.org"
}
5 changes: 5 additions & 0 deletions imp-cmd.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/node
import { ImpReader } from "./imp-read.mjs";
import * as fs from "fs";
var stdinBuffer = fs.readFileSync(0); // STDIN_FILENO = 0
console.log(stdinBuffer.toString());
10 changes: 10 additions & 0 deletions imp-tests.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#+title: implish tests
#+server: https://tangentcode.com/
#+name: implish

* test
#+name: hello
#+begin_src
> echo "hello"
hello
#+end_src

0 comments on commit 741354e

Please sign in to comment.