Skip to content

Commit

Permalink
Enable System specs on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Jan 13, 2020
1 parent cae6a82 commit 7f75574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/std/system_spec.cr
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/win32_std_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f75574

Please sign in to comment.