Skip to content

Commit 2a00c0e

Browse files
authored
Merge pull request #75 from bryant1410/patch-1
Remove unneeded indentation in README
2 parents 215a9f5 + 048a613 commit 2a00c0e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
This adaptor exposes a set of Extension functions that allow a more idiomatic Kotlin usage
44

55
```kotlin
6-
observable<String> { subscriber ->
7-
subscriber.onNext("H")
8-
subscriber.onNext("e")
9-
subscriber.onNext("l")
10-
subscriber.onNext("")
11-
subscriber.onNext("l")
12-
subscriber.onNext("o")
13-
subscriber.onCompleted()
14-
}.filter { it.isNotEmpty() }
15-
.fold (StringBuilder()) { sb, e -> sb.append(e) }
16-
.map { it.toString() }
17-
.subscribe { a.received(it) }
18-
19-
verify(a, times(1)).received("Hello")
6+
observable<String> { subscriber ->
7+
subscriber.onNext("H")
8+
subscriber.onNext("e")
9+
subscriber.onNext("l")
10+
subscriber.onNext("")
11+
subscriber.onNext("l")
12+
subscriber.onNext("o")
13+
subscriber.onCompleted()
14+
}.filter { it.isNotEmpty() }
15+
.fold (StringBuilder()) { sb, e -> sb.append(e) }
16+
.map { it.toString() }
17+
.subscribe { a.received(it) }
18+
19+
verify(a, times(1)).received("Hello")
2020
```
2121

2222
## Build

0 commit comments

Comments
 (0)