@@ -101,7 +101,7 @@ def test_create_all
101101 name: bundle_ruby_3_0_0
102102 postgres12:
103103 DOCKER_COMPOSE
104- assert_equal expect_file_content , file_content
104+ assert_equal expect_file_content . strip , file_content . strip
105105
106106 file_content = File . read ( dummy_gem_docker_compose_folder_path . join ( "ruby_3_0_active_model_7_0.yml" ) )
107107 expect_file_content = <<~DOCKER_COMPOSE
@@ -137,7 +137,7 @@ def test_create_all
137137 name: bundle_ruby_3_0_0
138138 postgres12:
139139 DOCKER_COMPOSE
140- assert_equal expect_file_content , file_content
140+ assert_equal expect_file_content . strip , file_content . strip
141141
142142 file_content = File . read ( dummy_gem_docker_compose_folder_path . join ( "ruby_3_1_active_model_6_1.yml" ) )
143143 expect_file_content = <<~DOCKER_COMPOSE
@@ -173,7 +173,7 @@ def test_create_all
173173 name: bundle_ruby_3_1_0
174174 postgres12:
175175 DOCKER_COMPOSE
176- assert_equal expect_file_content , file_content
176+ assert_equal expect_file_content . strip , file_content . strip
177177
178178 file_content = File . read ( dummy_gem_docker_compose_folder_path . join ( "ruby_3_1_active_model_7_0.yml" ) )
179179 expect_file_content = <<~DOCKER_COMPOSE
@@ -209,7 +209,7 @@ def test_create_all
209209 name: bundle_ruby_3_1_0
210210 postgres12:
211211 DOCKER_COMPOSE
212- assert_equal expect_file_content , file_content
212+ assert_equal expect_file_content . strip , file_content . strip
213213 end
214214
215215
0 commit comments