Commit c682c5a
committed
(PUP-2521) Remove reference to windows-pr ERROR_FILE_NOT_FOUND constant
Previously, bundle exec rspec spec/unit/provider/package/windows/package_spec.rb
would fail on windows with ruby 2 x64, with the error message:
NameError: uninitialized constant Windows::Error
as it referenced a constant from windows-pr, which we are in the process of
removing.
This commit changes the code to use the same constant defined in
Puppet::Util::Windows::Error.1 parent 8ce8a25 commit c682c5a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments