aboutsummaryrefslogtreecommitdiffstats
path: root/example_test.go
diff options
context:
space:
mode:
authorDave Cheney2014-07-10 17:23:36 +1000
committerDave Cheney2014-07-10 17:23:36 +1000
commit63953a810e5be733f37841ef23288d3ed225522e (patch)
tree954934885899838aa117d5fecb25eac14b7f9c45 /example_test.go
parentdc58c8f433c2ed2304866c4a44cd65f6c34456f6 (diff)
downloadbrowser-63953a810e5be733f37841ef23288d3ed225522e.tar.bz2
fix quote layout
Diffstat (limited to 'example_test.go')
-rw-r--r--example_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/example_test.go b/example_test.go
index 0c1fd3f..c315101 100644
--- a/example_test.go
+++ b/example_test.go
@@ -8,11 +8,11 @@ func ExampleOpenFile() {
func ExampleOpenReader() {
// https://github.com/rust-lang/rust/issues/13871
- const quote = `There was a night when winds from unknown spaces whirled us irresistibly into
-limitless vacum beyond all thought and entity. Perceptions of the most
-maddeningly untransmissible sort thronged upon us; perceptions of infinity
-which at the time convulsed us with joy, yet which are now partly lost to my
-memory and partly incapable of presentation to others.`
+ const quote = `There was a night when winds from unknown spaces
+whirled us irresistibly into limitless vacum beyond all thought and entity.
+Perceptions of the most maddeningly untransmissible sort thronged upon us;
+perceptions of infinity which at the time convulsed us with joy, yet which
+are now partly lost to my memory and partly incapable of presentation to others.`
r := strings.NewReader(quote)
OpenReader(r)
}