summary refs log tree commit diff stats
path: root/tests/niminaction/Chapter3/ChatApp/src/protocol.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/niminaction/Chapter3/ChatApp/src/protocol.nim')
-rw-r--r--tests/niminaction/Chapter3/ChatApp/src/protocol.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/niminaction/Chapter3/ChatApp/src/protocol.nim b/tests/niminaction/Chapter3/ChatApp/src/protocol.nim
index af515861c..4c122d4cc 100644
--- a/tests/niminaction/Chapter3/ChatApp/src/protocol.nim
+++ b/tests/niminaction/Chapter3/ChatApp/src/protocol.nim
@@ -37,7 +37,7 @@ proc createMessage*(username, message: string): string =
     "message": %message
   }) & "\c\l"
 
-when isMainModule:
+when true:
   block:
     let data = """{"username": "dom", "message": "hello"}"""
     let parsed = parseMessage(data)
ahoang/Nim/blame/compiler/nim.nim?h=devel&id=ece23d39bce679be75da10e0e6b6fcf1814dca49'>^
765366c1f ^
39cabcdd2 ^

2beaa7a2d ^

e25474154 ^
f530bbd63 ^


d43febf81 ^
214c7a2eb ^

39cabcdd2 ^
fd62116f6 ^





c617479c6 ^
2df9b442c ^
73919e308 ^
e25474154 ^
fc9fdc2b9 ^
e25474154 ^
92b8fac94 ^
def61c9fc ^



261311001 ^
def61c9fc ^
ae0ab9a10 ^
e4e74034c ^
2f43fdb83 ^
fc9fdc2b9 ^



c617479c6 ^
e4e74034c ^
2df9b442c ^
3b7ef2288 ^

e25474154 ^
2df9b442c ^

e25474154 ^
73919e308 ^
627e192f6 ^


201a08e9a ^
fc9fdc2b9 ^
1785c6877 ^
b0a16fb61 ^





842c7f67c ^
fe285b354 ^
3b38ceac2 ^





438703f59 ^
3b38ceac2 ^
201a08e9a ^
e25474154 ^
dd806cafa ^
4aba7421f ^
65fdd641a ^
3d7abb958 ^
65fdd641a ^

b731e6ef1 ^
1e26047c3 ^

2df9b442c ^
26b853923 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98