From 2d216556e221ff7985f1ffa72dbf94d57c2f6b0b Mon Sep 17 00:00:00 2001 From: John Kerl Date: Mon, 29 Nov 2021 23:14:33 -0500 Subject: [PATCH] add some unit-test keystroke-savers to Makefile --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index f71128bef..90042eec5 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,16 @@ check: unit_test regression_test unit_test: go test github.com/johnkerl/miller/internal/pkg/... +# Keystroke-savers +unbackslash_test: + go test $(ls internal/pkg/lib/*.go|grep -v test) internal/pkg/lib/unbackslash_test.go +mlrval_functions_test: + go test internal/pkg/types/mlrval_functions_test.go $(ls internal/pkg/types/*.go | grep -v test) +mlrval_format_test: + go test internal/pkg/types/mlrval_format_test.go $(ls internal/pkg/types/*.go|grep -v test) +regex_test: + go test internal/pkg/lib/regex_test.go internal/pkg/lib/regex.go + # Regression tests (large number) # # See ./regression_test.go for information on how to get more details