diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-17 11:20:53 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-17 15:57:37 -0700 |
commit | 01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2 (patch) | |
tree | 696fce7bb207e77952d10b7358f4ce00faed3874 /092socket.mu | |
parent | dd66068298b0a11f2a1f195376cba98e0c8570b5 (diff) | |
download | mu-01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2.tar.gz |
4262 - literal 'null'
Diffstat (limited to '092socket.mu')
-rw-r--r-- | 092socket.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/092socket.mu b/092socket.mu index be4e5bb2..b0dca4b7 100644 --- a/092socket.mu +++ b/092socket.mu @@ -7,14 +7,14 @@ scenario example-server-test [ # that way repeatedly running the test will give ports time to timeout and # close before reusing them make-random-nondeterministic - port:num <- random-in-range 0/real-random-numbers, 8000, 8100 + port:num <- random-in-range null/real-random-numbers, 8000, 8100 run [ socket:num <- $open-server-socket port assert socket, [ F - example-server-test: $open-server-socket failed] handler-routine:number <- start-running serve-one-request socket, example-handler ] - source:&:source:char <- start-reading-from-network 0/real-resources, [localhost/], port + source:&:source:char <- start-reading-from-network null/real-resources, [localhost/], port response:text <- drain source 10:@:char/raw <- copy *response memory-should-contain [ |