all repos — min @ dbf15ed6e0e6135003c5f4997a46ca111fb6ae7c

A small but practical concatenative programming language.

Now consuming mmm for tests and site.
h3rald h3rald@h3rald.com
Thu, 30 Nov 2023 15:10:30 +0100
commit

dbf15ed6e0e6135003c5f4997a46ca111fb6ae7c

parent

d09ad07be17e77b62e515b06cd48f8f415b3d601

M .github/workflows/test.yml.github/workflows/test.yml

@@ -84,6 +84,10 @@ min.exe

args: --best --force if: matrix.os == 'windows-latest' + # Install tests deps + - name: Install tests deps + run: cd ./tests && ../min install + # Test (*nix) - name: Test run: ./min tests/all.min
M site/assets/mmm.jsonsite/assets/mmm.json

@@ -1,14 +1,23 @@

{ - "updated": null, - "modules": [ - { - "name": "min-highlight", - "method": "git", - "url": "https://git.sr.ht/~h3rald/min-highlight", - "author": "Fabio Cevasco", - "description": "HTML syntax highlighter for min code", - "license": "MIT", - "deps": {} - } - ] + "modules": [ + { + "author": "Fabio Cevasco", + "deps": {}, + "description": "HTML syntax highlighter for min code", + "license": "MIT", + "method": "git", + "name": "min-highlight", + "url": "https://git.sr.ht/~h3rald/min-highlight" + }, + { + "name": "min-test", + "method": "git", + "url": "https://git.sr.ht/~h3rald/min-test", + "author": "Fabio Cevasco", + "description": "A minimal testing library for the min programming language.", + "license": "MIT", + "deps": {} + } + ], + "updated": null }
M tests/crypto.mintests/crypto.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "crypto" *test/describe

@@ -22,4 +22,4 @@

("test" "test" aes "test" aes strip "test" ==) *test/assert *test/report - clear-stack+ clear-stack
M tests/dict.mintests/dict.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "dict" *test/describe
M tests/dstore.mintests/dstore.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "dstore" *test/describe

@@ -34,4 +34,4 @@

"dstore.json" rm *test/report - clear-stack+ clear-stack
M tests/fs.mintests/fs.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "fs" *test/describe
M tests/http.mintests/http.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "http" *test/describe

@@ -56,4 +56,4 @@ ) tap /body from-json /url "https://$1/delete" (host) => % ==

) *test/assert *test/report - clear-stack+ clear-stack
M tests/io.mintests/io.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "io" *test/describe

@@ -11,4 +11,4 @@ "test.txt" fread "TEST - TEST" ==) *test/assert

"test.txt" rm *test/report - clear-stack+ clear-stack
M tests/lang.mintests/lang.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "lang" *test/describe
M tests/logic.mintests/logic.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "logic" *test/describe
M tests/math.mintests/math.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "math" *test/describe

@@ -32,4 +32,4 @@

(-2.87 abs 2.87 ==) *test/assert *test/report - clear-stack+ clear-stack
A tests/mmm.json

@@ -0,0 +1,10 @@

+{ + "name": "tests", + "author": "Fabio Cevasco", + "description": "Unit tests for the min programming language.", + "license": "MIT", + "private": true, + "deps": { + "min-test": "master" + } +}
M tests/net.mintests/net.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "net" *test/describe

@@ -35,4 +35,4 @@ clear-stack

srv1 close srv2 close cli1 close - cli2 close+ cli2 close
M tests/num.mintests/num.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "num" *test/describe
M tests/seq.mintests/seq.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "seq" *test/describe
M tests/stack.mintests/stack.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "stack" *test/describe

@@ -34,4 +34,4 @@

((1 2) (3 4) ((0 get) (1 get)) spread get-stack (1 4) ==) *test/assert *test/report - clear-stack+ clear-stack
M tests/str.mintests/str.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "str" *test/describe
M tests/sys.mintests/sys.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "sys" *test/describe
M tests/time.mintests/time.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;; "time" *test/describe

@@ -18,4 +18,4 @@

(1464951736 timeinfo 'timezone dget integer?) *test/assert *test/report - clear-stack+ clear-stack
M tests/xml.mintests/xml.min

@@ -1,4 +1,4 @@

-'test require :test +'min-test require :test ;;;