mrubyc-test 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d22552c0a71b7399d7eae38faa8ae82b48b6553f8059e42f210dce7d75f127ae
4
- data.tar.gz: 90bcd3c1c4c76f1f1db76582bf181dd2550e6a78230e9ced1f5ed9f96abfdca8
3
+ metadata.gz: c0b7fb6ef6a6220b2a6036c4ba3425c3f723ebf5354d9b8683b400d40215e07d
4
+ data.tar.gz: 81222c6532836e95f7b605a146136cfebc6f127f85554a121e7c9ac2b33689eb
5
5
  SHA512:
6
- metadata.gz: 454e1ba5ee921f0829c5f44cf42f34c82c812585144ff703fee4042c1bba9f7953e0480ea21e14cc361c8acf75861f125299f3b4b2993c8c884b7a21d76b451a
7
- data.tar.gz: db8fdcfbf31995e6c3c9ca9964ebf813c09f4ad0757f9b0d5ef69f19f09e68ceb431ee1111bf5f83ce2d5d48451f3fb0a6a04519d42d1d88a7a95cabc2d7e8c6
6
+ metadata.gz: df96b7eccca91fdbf41c01ee891d3b0399226ad72d81219d5241ed3efb77c51230d9530849dd648d2ac820cab3a010e2bd1af510b29906cbeffc7c57a45c373b
7
+ data.tar.gz: 77448b29e6bb4186c2f427c2159b0cb19e1cba3035d88ed711b2c16feb60a77906b31a17c65747179f781f5e816351f3ad83f88dde7e2cbc0cd6d56e680e4fbd
data/.gitignore CHANGED
@@ -15,3 +15,5 @@
15
15
  /test/
16
16
  /mrblib/
17
17
  /mrubyc_src/
18
+
19
+ .rake_tasks~
@@ -1,5 +1,5 @@
1
1
  module Mrubyc
2
2
  module Test
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
5
5
  end
@@ -94,5 +94,8 @@ main(void) {
94
94
  mrbc_define_method(0, mrbc_class_object, "instance_variable_get", c_instance_variable_get);
95
95
  mrbc_load_model(models);
96
96
  mrbc_load_model(test);
97
+ /* test should be a task so that methods like sleep work */
98
+ mrbc_create_task(test, 0);
99
+ mrbc_run();
97
100
  return exit_code;
98
101
  }
@@ -43,7 +43,8 @@ def summerize
43
43
  puts "Pendings:\n"
44
44
  $pendings.each_with_index do |pending, index|
45
45
  puts $colors[:pending]
46
- puts "#{index+1}) " + pending[:class_and_method]
46
+ print index # FIXME: picorbc's bug :thinking_face:
47
+ puts ") " + pending[:class_and_method]
47
48
  print $colors[:info]
48
49
  puts " # " + pending[:path] + ":" + pending[:line]
49
50
  puts $colors[:reset]
@@ -53,7 +54,8 @@ def summerize
53
54
  puts "Failures:\n"
54
55
  $failures.each_with_index do |failure, index|
55
56
  puts
56
- puts "#{index+1}) " + failure[:class_and_method] + " (:" + failure[:assertion] + ")"
57
+ print index # FIXME: picorbc's bug :thinking_face:
58
+ puts ") " + failure[:class_and_method] + " (:" + failure[:assertion] + ")"
57
59
  print $colors[:failure]
58
60
  puts " description : " + failure[:description]
59
61
  puts " expected : " + failure[:expected] if failure[:expected].length > 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mrubyc-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HASUMI Hitoshi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-24 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler