microsoft / ManagedEsent

MIT License
244 stars 36 forks source link

Resolved failed test due to localized ArgumentOutOfRangeException message #29

Open tom-lei opened 4 years ago

tom-lei commented 4 years ago

The test fails on systems with non EN culture because the text "Actual value was" of ArgumentOutOfRangeException is localized, e. g. on german systems the localized string looks like "Der tatsächliche Wert war". This change ensures, that the test works independently of the current culture.