Skip to content

Commit c00b6e9

Browse files
authored
Update index.md
1 parent b78dd97 commit c00b6e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ Tests are written in groove language. For unit testing, the Spock framework was
6565
### Small Graph Sample
6666

6767
```groovy
68-
def graph = Graph.of([
68+
def graph = Graph.of [
6969
A: [B: 7, C: 2],
7070
B: [A: 3, C: 5],
7171
C: [A: 1, B: 3]
72-
])
72+
]
7373
```
7474

7575
![Small Graph](assets/small.gif)
@@ -78,21 +78,21 @@ Tests are written in groove language. For unit testing, the Spock framework was
7878
### Medium Graph Sample
7979

8080
```groovy
81-
def graph = Graph.of([
81+
def graph = Graph.of [
8282
A: [B: 5],
8383
B: [A: 5, C: 10],
8484
C: [B: 20, D: 5],
8585
D: [E: 5],
8686
E: [B: 5]
87-
])
87+
]
8888
```
8989

9090
![Medium Graph](assets/medium.gif)
9191

9292
### Complex Graph Sample
9393

9494
```groovy
95-
def graph = Graph.of([
95+
def graph = Graph.of [
9696
A: [B: 5, H: 2],
9797
B: [A: 5, C: 7],
9898
C: [B: 7, D: 3, G: 4],
@@ -101,7 +101,7 @@ Tests are written in groove language. For unit testing, the Spock framework was
101101
F: [G: 6],
102102
G: [C: 4],
103103
H: [G: 3]
104-
])
104+
]
105105
```
106106
![Complex Graph](assets/complex.gif)
107107

0 commit comments

Comments
 (0)