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 Feb 18, 2020
1 parent 48764ea commit e2ee447
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 e2ee447

Please sign in to comment.