diff --git a/spec/std/system_spec.cr b/spec/std/system_spec.cr index b7778fd616a4..f0969bb60944 100644 --- a/spec/std/system_spec.cr +++ b/spec/std/system_spec.cr @@ -1,9 +1,9 @@ -require "spec" +require "./spec_helper" require "system" describe System do describe "hostname" do - it "returns current hostname" do + pending_win32 "returns current hostname" do shell_hostname = `hostname`.strip $?.success?.should be_true # The hostname command has to be available hostname = System.hostname diff --git a/spec/win32_std_spec.cr b/spec/win32_std_spec.cr index 14b66ef2b408..85fab47e1580 100644 --- a/spec/win32_std_spec.cr +++ b/spec/win32_std_spec.cr @@ -190,7 +190,7 @@ require "./std/string/utf16_spec.cr" require "./std/struct_spec.cr" require "./std/symbol_spec.cr" # require "./std/system/group_spec.cr" (failed codegen) -# require "./std/system_spec.cr" (failed codegen) +require "./std/system_spec.cr" # require "./std/system/user_spec.cr" (failed codegen) # require "./std/thread/condition_variable_spec.cr" (failed codegen) # require "./std/thread/mutex_spec.cr" (failed codegen)