xctest_list 1.1.7 → 1.1.8

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/xctest_list.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec8f3b63f94d1d875896d92a3f4c5e2122eb8b12
4
- data.tar.gz: 71a6ea6cd5760e944abd4026e1e1064c6da73704
3
+ metadata.gz: 5a7d0c055a03cda79275c01577654e053bb2c163
4
+ data.tar.gz: f6b493f6952fdaa84dd40b56b3d357862c0110cf
5
5
  SHA512:
6
- metadata.gz: ea6e9e0ab3c56de6292aa2310d293b1f943fedaf8e4545a559dce13a6af3898d63b037c0988d418d9fb2d5b3d82c038675c456df091f27907ca800066e62b755
7
- data.tar.gz: fe4f68de5326cb4f2e82b2f9c6de2508162bb7fe47bb34a76e36c1c7903326bb1fc1b95e3852d8ac00c427018cffa598e3a72fc6bb41fa4349170e87e610820e
6
+ metadata.gz: cf6ad5c2bc5523de91e8562257611881785cf3fe74cb1412fad6e216162034e91dc122bcdab13fc93b3147707bf328f7ef971ac914722f009cd12616c772347c
7
+ data.tar.gz: f215babcbf9d8d949af6389234ce67f7e44b801152d8105e79ce43321207b88e43c6564409a85d6efa00acfde967f36fe873f7c0f7bc253124db850d3cbac7c9
@@ -41,7 +41,7 @@ class XCTestList
41
41
  system("nm -U '#{binary_path(xctest_bundle_path)}' > '#{objc_symbols_command_output_tempfile.path}'")
42
42
  tests = []
43
43
  File.foreach(objc_symbols_command_output_tempfile.path) do |line|
44
- if / t -\[(?<testclass>\w+) (?<testmethod>test\w+)\]/ =~ line
44
+ if / t -\[(?<testclass>\w+) (?<testmethod>test\w*)\]/ =~ line
45
45
  tests << "#{testclass}/#{testmethod}"
46
46
  end
47
47
  end
@@ -68,7 +68,7 @@ class XCTestList
68
68
  system("#{swift_symbol_dump_command(binary_path(xctest_bundle_path))} > '#{swift_symbols_command_output_tempfile.path}'")
69
69
  tests = []
70
70
  File.foreach(swift_symbols_command_output_tempfile.path) do |line|
71
- if /.*-\[.*\]/ !~ line && /\w+\.(?<testclass>[^\.]+)\.(?<testmethod>test[^\(]+)\(/ =~ line
71
+ if /.*-\[.*\]/ !~ line && /\w+\.(?<testclass>[^\.]+)\.(?<testmethod>test[^\(]*)\(/ =~ line
72
72
  tests << "#{testclass}/#{testmethod}"
73
73
  end
74
74
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xctest_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson