fix: typos (#1074)
This commit is contained in:
parent
c7f17bf25a
commit
bcc014c4e1
@ -8,7 +8,7 @@ use crate::prelude::*;
|
|||||||
///
|
///
|
||||||
/// ```example
|
/// ```example
|
||||||
/// #locate(loc => [
|
/// #locate(loc => [
|
||||||
/// My locatation: \
|
/// My location: \
|
||||||
/// #loc.position()!
|
/// #loc.position()!
|
||||||
/// ])
|
/// ])
|
||||||
/// ```
|
/// ```
|
||||||
|
@ -489,7 +489,7 @@ impl TextItem {
|
|||||||
|
|
||||||
impl Debug for TextItem {
|
impl Debug for TextItem {
|
||||||
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
||||||
// This is only a rough approxmiation of the source text.
|
// This is only a rough approximation of the source text.
|
||||||
f.write_str("Text(\"")?;
|
f.write_str("Text(\"")?;
|
||||||
for glyph in &self.glyphs {
|
for glyph in &self.glyphs {
|
||||||
for c in glyph.c.escape_debug() {
|
for c in glyph.c.escape_debug() {
|
||||||
|
@ -53,7 +53,7 @@ testit --pdf
|
|||||||
## Update expected images
|
## Update expected images
|
||||||
If you created a new test or fixed a bug in an existing test, you need to update
|
If you created a new test or fixed a bug in an existing test, you need to update
|
||||||
the reference image used for comparison. For this, you can use the
|
the reference image used for comparison. For this, you can use the
|
||||||
`UPDATE_EXPECT` environment varariable or the `--update` flag:
|
`UPDATE_EXPECT` environment variable or the `--update` flag:
|
||||||
```bash
|
```bash
|
||||||
testit mytest --update
|
testit mytest --update
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user