Commit Graph

23 Commits

Author SHA1 Message Date
Mitchell Rosen
bbb04d9da2 get the transcripts passing (but a couple are still broken) 2024-08-26 13:37:19 -04:00
Greg Pfeil
b657d0dd50
Fix a few transcripts with incorrect Markdown
These weren’t errors in any way, but the `cmark`-produced outputs made
it clear that some of our transcripts weren’t formatted the way we
intended.
2024-07-10 13:56:10 -06:00
Chris Penner
5ca1eb3b8d Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Arya Irani
2cf96a36ae
deprecate cd, up; add find-in (#4883)
* deprecate `cd`, `up`, hide `reset-root`, add `find-in`, hides unimplemented `update.builtins`
Co-authored-by: Chris Penner <christopher.penner@gmail.com>
2024-04-28 21:30:02 -04:00
Rúnar
0f58263ac5 Added IO.randomBytes builtin 2023-07-02 00:31:11 -04:00
Rúnar
a25b6aa687 Fixed transcript 2023-06-22 03:02:49 -04:00
Rúnar
646dddbdad Fixed up transcripts 2023-06-22 00:46:40 -04:00
Paul Chiusano
685a202319 update transcripts 2022-12-01 23:51:11 -06:00
iamevn
ccd2edbbd0 edit transcripts to test io.getSomeBytes 2022-04-04 15:55:44 -07:00
Chris Penner
9e9ec0f5fc
Fix transcripts/io.md to work on windows builds. (#2942)
* Use PATH so this test works on windows systems

* Update transcript output
2022-02-23 13:43:17 -06:00
Chris Penner
8af6377173
Fix implementation of getbuffering builtin to actually return Either (#2779)
* Fix implementation of getbuffering builtin to actually return Either

* Test that we actually get back the expected buffering mode
2022-01-06 10:22:43 -06:00
Chris Penner
c8fe85d75b Remove -- checks in io transcript 2021-11-04 14:44:00 -06:00
iamevn
83d363f0e0 run within ucm handles -- similarly to the command line
-- is optional, the first one is filtered out from the argument list.

moved
2021-10-23 18:21:15 -07:00
iamevn
d24627ff83 add tests for getArgs
tests need to be formatted differently because they need to be `run` instead of `io.test`ed
2021-10-23 10:10:57 -07:00
iamevn
6f3870d5ea add test for getCurrentDirectory and getTempDirectory, add Evan to CONTRIBUTORS 2021-10-22 15:12:10 -07:00
Rúnar
249bf3ba25 Merge branch 'trunk' of github.com:unisonweb/unison into topic/getLine 2021-07-23 22:25:01 -04:00
Rúnar
e1e4174981 Merge branch 'trunk' of github.com:unisonweb/unison into topic/getline 2021-07-23 14:43:39 -04:00
Stew O'Connor
1bb4bfbfb3 Add a getEnv IO function which fetch environment variables 2021-07-20 13:56:09 -07:00
Paul Chiusano
c46e863ab0 Merge remote-tracking branch 'origin/trunk' into topic/directorycontent
# Conflicts:
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/squash.output.md
2021-06-11 11:04:06 -05:00
Paul Chiusano
151f8e92b9 improve tests 2021-05-26 11:47:51 -05:00
Rúnar
96bef3055c Add tests for directoryContents 2021-05-21 20:30:22 -04:00
Paul Chiusano
d95ffb1081 Improve transcript to exercise getBuffering as well 2021-05-05 13:06:17 -05:00
Paul Chiusano
4057c9b645 Add failing test that exercises the various file and buffering modes 2021-05-05 12:57:38 -05:00