diff --git a/source/Stargate-Model-Tests/RESTfulControllerAcceptNegotiatorTest.class.st b/source/Stargate-Model-Tests/RESTfulControllerAcceptNegotiatorTest.class.st index 00a5ad6..f7dbd86 100644 --- a/source/Stargate-Model-Tests/RESTfulControllerAcceptNegotiatorTest.class.st +++ b/source/Stargate-Model-Tests/RESTfulControllerAcceptNegotiatorTest.class.st @@ -66,7 +66,9 @@ RESTfulControllerAcceptNegotiatorTest >> testAcceptHeaderContentIsAnArray [ request := ZnRequest readFrom: - 'GET /example HTTP/1.1User-Agent: Consul AgentAccept: */*Accept: application/json' expandMacros readStream. + ( 'GET /example HTTP/1.1<1s><2s>User-Agent: Consul Agent<1s><2s>Accept: */*<1s><2s>Accept: application/json<1s><2s>' + expandMacrosWith: Character cr asString + with: Character lf asString ) readStream. self assert: ( ( RESTfulControllerAcceptNegotiator basedOn: apiMediaTypes ) bestRepresentationFor: request )