tests: "wc -c" portability for *BSDs
[rainbows.git] / t / simple-http_ActorSpawn.ru
blobda17d5d22eb89b3c932e220badd342e8fe315cc0
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] && env['rainbows.model'] == :ActorSpawn
5     [ 200, {}, [ Actor.current.inspect << "\n" ] ]
6   else
7     raise "rack.multithread is not true"
8   end