Matthew Flatt
5433d2302a
fix some error-message tests
2012-06-23 05:21:52 -07:00
Eli Barzilay
7d6e79023c
Random pickiness.
...
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Matthew Flatt
b5ab6cec7e
fix misc tests for error-message change
2012-05-26 08:18:19 -06:00
Matthew Flatt
2d027e7ee5
scribble/eval: add eval:result' and
eval:results'
2012-05-09 19:11:21 -06:00
Eli Barzilay
a4381dd1f6
Do the xref test only if "doc/reference/out.sxref" exists/
...
(Since the nightly build includes the documentation only on the main
machine.)
2012-05-07 09:12:00 -04:00
Eli Barzilay
084f1dcea7
Use the new `wrap-line' in the scribble text renderer.
...
Looks like it's not making any changes in the current tests (which use
the text renderer), but with words that are longer than the width the
old version would stop wrapping afetr these words. Added a test file
that fails with that and succeeds with the new one. If anyone cares
about this, it's easy to make hyphenate words that are too long for a
line.
(Also fixed some redundant frustration in the bib test...)
2012-05-06 08:17:36 -04:00
Eli Barzilay
36394500e5
Streamline all scribble tests.
2012-05-06 05:53:19 -04:00
Eli Barzilay
89b9ad0dde
New wrap-line' function in a new
scribble/text/wrap' module.
...
This should probably become documented if it's stable enough. For now
it's intended for building wrapping functions, so it's only documented
in comments the file.
2012-05-06 05:38:04 -04:00
Matthew Flatt
54a6ba8d36
racket/sandbox: change syntax-object wrappers generated for locations
...
Generate wrappers consistent with a reader-level absence of `.'s,
instead of wrapping every pair. This change fixes the `syntax-e'
example in the Guide's description of syntax objects.
2012-05-01 16:48:15 -06:00
Eli Barzilay
115a3dfbac
Make it possible to run each scribble test file by itself.
2012-04-17 14:04:57 -04:00
J. Ian Johnson
3caf0aca23
Sort bibliographies by authors' last names.
...
(Tweaked by Vincent.)
2012-04-05 19:04:54 -04:00
Jay McCarthy
1d19a844f4
Moving tests re: Sam
2012-03-30 23:54:42 -06:00
Vincent St-Amour
999de5a488
Fix bug in autobib's handling of urls.
2012-03-19 11:10:22 -04:00
James Ian Johnson
6e7fb4e7ef
Bibliographies had a nondeterministic render order. Fixed. Added tests for disambiguation.
2012-03-13 18:38:31 -04:00
David Van Horn
b8d3219b1b
Fix contract on filebox to reflect documentation.
2012-02-28 19:40:21 -05:00
Matthew Flatt
fca5ceecc9
switch `codeblock' to strings instead of bytes
...
Also, fix scribble lexer line counting.
Closes PR 12225
2011-11-27 11:06:21 -07:00
Matthew Flatt
fe3b6ea003
at-exp, scribble: remove distinctness of @{}-introduced newlines
2011-11-24 09:17:34 -07:00
Eli Barzilay
623c7493ed
Some selective #:when (not ...)' ->
#:unless ...'.
2011-09-16 10:48:18 -04:00
Matthew Flatt
09b4a55d87
Revert "Fix a scribble test for plural "Examples""
...
The test was correct, and e4729afdbf
fixes the bug.
This reverts commit 4eaab11d14
.
2011-08-17 20:43:12 -06:00
Eli Barzilay
4eaab11d14
Fix a scribble test for plural "Examples"
2011-08-17 10:00:55 -04:00
Matthew Flatt
fba1777b8a
fix contract
2011-08-02 06:48:54 -06:00
Matthew Flatt
e3b8997fb8
fix test
...
which is sensitive to details of the documentation of `->'
2011-07-04 16:35:38 -06:00
Eli Barzilay
226f86d201
Try to improve the tests wrt timeouts and memory limits
2011-07-02 01:10:38 -04:00
Eli Barzilay
0af236dc2f
Add block' to
scribble/text', to explicitly ask for an indentation block.
...
* Lists are now either blocks or splices depending on whether they
appear inside a block or a splice (default to block).
* Adjusted the docs and a single test where this mattered.
* Change the documentation to be "text.html" and to be titled "text
generation".
2011-06-28 18:16:07 -04:00
Danny Yoo
d78fccb75b
Fixing the comment-at-end-of-file bug (PR#11982)
2011-06-16 21:37:48 -04:00
Robby Findler
c8d476c76e
adjust scribble's racketblock renderer so that #true and #false
...
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Matthew Flatt
00ca86ffc6
`xref-binding->definition-tag': fix two-argument-list mode
...
Closes PR 11847
2011-04-12 15:55:22 -04:00
Matthew Flatt
df2a875ff4
Scribble: simplify content that is conditioned on the render mode
...
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Matthew Flatt
d00c8a6c71
Scribble: fixes for text output, especially inset nested flows
2011-03-30 19:53:32 -06:00
Matthew Flatt
60c4acb094
Scribble: clean up text-mode output
...
- line-flow paragraphs to fit in 72 columns
- better indentation for itemizations
- format tables with paragraphs and nested tables
2011-03-20 17:19:03 -06:00
Matthew Flatt
b2e338cc43
add missing autobib test
2011-03-20 15:38:51 -06:00
Matthew Flatt
343b6fb008
Scribble: fix caching of hyperlinked identifiers
2011-03-15 11:09:10 -06:00
Eli Barzilay
09698c800c
Improve the error message from scribble text rendering tests.
2011-03-15 11:45:40 -04:00
Matthew Flatt
449a634b2f
add missing test for commit ae8705611b
2011-03-11 13:19:52 -06:00
Eli Barzilay
0801525931
Merge in the docs test into the rest of the scribble tests.
...
Also fixed it to scan all scrbl files in the docs directory, use
runtime-path, and change the rest to racket to get the quoted printout
right.
2011-02-16 15:26:15 -05:00
Matthew Flatt
1a5f41fd71
Scribble: fix multi-line print output
...
Closes PR 11735
2011-02-14 07:32:21 -07:00
Eli Barzilay
6295824851
Some additional tests, and use () instead of {} for racket sexprs
2010-10-11 15:07:28 -04:00
Eli Barzilay
606b7f60dc
Lots of "~e" to "~.s" changes.
2010-08-25 17:17:01 -04:00
Matthew Flatt
28b4043077
rename all files .ss -> .rkt
2010-04-27 16:50:15 -06:00
Matthew Flatt
2fb34bcfdc
fix Scribble reader test regexp-split pattern
2010-04-15 19:15:53 -04:00
Eli Barzilay
55d4ac93b3
another case of this
...
svn: r17602
2010-01-11 06:38:19 +00:00
Eli Barzilay
384cadd579
express expected result of []s using []s, so these tests make sense for readers that use []s in a different way too
...
svn: r17601
2010-01-11 06:31:01 +00:00
Eli Barzilay
e9bad827c3
Change the location information: avoid adjusting the source information
...
of `@foo' to include the `@'. This applies for both identifiers and
full @-forms.
svn: r15792
2009-08-21 13:16:08 +00:00
Eli Barzilay
82f0d336d4
Added syntax property checking (only locations for now, but will be extended).
...
svn: r15791
2009-08-21 13:04:19 +00:00
Eli Barzilay
d863e07492
minor reorganization
...
svn: r15790
2009-08-21 11:40:29 +00:00
Eli Barzilay
1ea8c66511
In Scheme mode @|| will also throw an error instead of being read as a
...
comment. This is to avoid confusing situations like
(define foo (list x '@|| y))
which quoted the `y' since @|| was read as a comment.
svn: r15789
2009-08-21 11:11:21 +00:00
Eli Barzilay
1ce41ec179
* Improved tester definitions
...
* Testing read errors too now
svn: r15632
2009-07-30 03:17:50 +00:00
Eli Barzilay
d0f8970add
@foo@bar' will now parse as a
foo@bar' identifier. This used to be
...
the case in Scheme mode but not in text mode, and this commit makes
the text mode behave as the Scheme mode. (Seems like a convenience
point that is not useful since people won't remember the difference.)
svn: r15622
2009-07-29 17:00:29 +00:00
Eli Barzilay
3c746c1fd3
move require into evaluation
...
svn: r15124
2009-06-09 10:41:22 +00:00
Eli Barzilay
4240ac8cfc
New `make-at-reader' in the API, update docs, adapt tests.
...
svn: r15121
2009-06-08 16:43:01 +00:00