Skip to content

Commit e190930

Browse files
psavides-awst0shiii
authored andcommitted
Revert "Updated expected error message in file_credentials_test"
This reverts commit 4b4aab1 Logic to preserve error was added here: 47e3fa5
1 parent 91504e8 commit e190930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/instance_agent/file_credentials_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class FileCredentialsTest < InstanceAgentTestCase
5353
end
5454

5555
should 'raise error when credential file is missing' do
56-
assert_raised_with_message("Profile `default' not found in #{credentials_path}", Aws::Errors::NoSuchProfileError) do
56+
assert_raised_with_message("Failed to load credentials from path #{credentials_path}", RuntimeError) do
5757
InstanceAgent::FileCredentials.new(credentials_path)
5858
end
5959
end

0 commit comments

Comments
 (0)