puppetlabs/facter — pull request #151 by joshcooper (2012-01-21 18:51:42+00:00)
Title: (#12012) Fix ENV['LANG'] spec tests on Windows

Previously, the tests were failing because there isn't an `echo.exe`
on Windows.

This commit just wraps the command in a `cmd.exe` shell and expands
the variables using `%LANG%` syntax on Windows.