From ac56ffafe24e39fffb02cc1fbc0d3f27303390be Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 8 Jul 2019 15:05:13 -0700 Subject: fix multiline string Signed-off-by: Lamont Granquist --- spec/functional/resource/group_spec.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'spec/functional') diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb index c17217b1f3..5b34ad92d0 100644 --- a/spec/functional/resource/group_spec.rb +++ b/spec/functional/resource/group_spec.rb @@ -1,7 +1,7 @@ # # Author:: Chirag Jog () # Author:: Siddheshwar More () -# Copyright:: Copyright 2013-2018, Chef Software Inc. +# Copyright:: Copyright 2013-2019, Chef Software Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -333,10 +333,10 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do describe "when group name is length 256", :windows_only do let!(:group_name) do - "theoldmanwalkingdownthestreetalwayshadagood\ - smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface\ - theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking\ - downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestree" + "theoldmanwalkingdownthestreetalwayshadagood"\ + "smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface"\ + "theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking"\ + "downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestree" end it "should create a group" do @@ -360,10 +360,10 @@ describe Chef::Resource::Group, :requires_root_or_running_windows do # for group name > 256, Windows 2016 returns "The parameter is incorrect" context "group create action: when group name length is more than 256", :windows_only do let!(:group_name) do - "theoldmanwalkingdownthestreetalwayshadagood\ - smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface\ - theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking\ - downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" + "theoldmanwalkingdownthestreetalwayshadagood"\ + "smileonhisfacetheoldmanwalkingdownthestreetalwayshadagoodsmileonhisface"\ + "theoldmanwalkingdownthestreetalwayshadagoodsmileonhisfacetheoldmanwalking"\ + "downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" end it "should not create a group" do -- cgit v1.2.1