remove dependency on native GetHostname

This commit is contained in:
George Fleming committed 2016-05-05 09:08:06 -07:00
1 parent b5cfc575d3
commit 1b97c954ea
3 files changed
+2 -55

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ namespace PSTests
// The process should return an exit code of 0 on success
Assert.Equal(0, process.ExitCode);
// It should be the same as what our platform code returns
Assert.Equal(hostname, Platform.NonWindowsGetMachineName());
Assert.Equal(hostname, System.Management.Automation.Environment.MachineName);
}
}