Stop using implicit string literal concatenation in one more place

Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd/pull/6155.
This commit is contained in:
ZombineDev 2016-11-15 20:07:48 +02:00
parent 39cc3d0bc1
commit 503357e3ea

View file

@ -380,9 +380,9 @@ struct Loader
unittest
{
char[] yaml_input = "red: '#ff0000'\n"
"green: '#00ff00'\n"
"blue: '#0000ff'".dup;
char[] yaml_input = ("red: '#ff0000'\n" ~
"green: '#00ff00'\n" ~
"blue: '#0000ff'").dup;
auto colors = Loader.fromString(yaml_input).load();