Commit Graph

13 Commits

Author SHA1 Message Date
Niklas Larsson
b5a6637da8 Rename expected, input and run
Because cabal's wildcards are broken and doesn't allow
files without file endings.
2020-01-25 01:44:54 +01:00
Steven Shaw
fb33d8ca77 Indentation configuration via command line args.
- `--indent-with INDENT`
- `--indent-clause INDENT`

Plus some boy scouting.
2017-01-13 15:27:30 +10:00
Echo Nolan
8ea8a3858c Set "--port none" in tests 2016-09-28 00:48:33 +02:00
gpyh
6db256a189 Fix formatting of some tests
Fix:
- missing $IDRIS
- missing/misplaced $@
- quotes around $@
2016-07-27 14:33:50 +02:00
Edwin Brady
6c51f87f69 Fix name unification in interactive case split
Need to make sure all user names are collected in patterns so that they
are preferred when generating terms from case splits
2016-04-10 22:17:26 +01:00
Edwin Brady
7412545c7a New line after with in interactive mode 2016-03-18 20:10:22 +00:00
Niklas Larsson
b0e8b1258b make the tests respect the IDRIS env variable
Simplify the sandbox lookup and only run it once.

Only run the test script once for 'make test' instead of using the
makefile to iterate.
2016-01-22 06:57:04 +01:00
Edwin Brady
467490be40 Better case split when all patterns are impossible
When there are no valid cases, instead of deleting existing patterns and
displaying nothing, output "impossible" cases for all the constructors.
2015-10-24 13:53:18 +01:00
David Raymond Christiansen
6c4553c31f Make --quiet imply non-verbosity
This causes Idris to not emit messages about "Type checking ...." while
in quiet mode, which improves the portability of tests to Windows (due
to the slash facing the other way there). It also makes tests a bit more
robust with regards to their source files changing names.
2015-04-01 17:48:17 +02:00
Edwin Brady
43127b17a7 Move Fin, Vect and So from prelude to base
They can be imported from the modules Data.Fin, Data.Vect, and Data.So
respectively.

The general thinking here is that not every program is going to need
these, and they are often used especially by newcomers in place of
something more appropriate. Also, all of them are useful for teaching,
which means it is instructive for tutorials to introduce them and have
people implement them themselves.
2014-12-31 20:18:02 +00:00
Ahmad Salim Al-Sibahi
f0ed9e992f First renaming attempt 2014-09-26 07:34:28 +02:00
David Raymond Christiansen
77ca4ed462 Fix interactive editing and tests
The pretty-printer fix broke parens in interactive editing.
2014-05-02 14:36:34 +02:00
Edwin Brady
1d2fc7f8e0 Categorise tests 2014-01-30 17:24:08 +00:00