android_tests/lib/format.rb in appium_lib-6.0.0 vs android_tests/lib/format.rb in appium_lib-7.0.0

- old
+ new

@@ -24,11 +24,11 @@ map.put("abslist", "AbsListView"); map.put("button", "Button"); TXT list.split("\n").each do |method| - pair = method.match /"([^"]+)"[^"]+"([^"]+)"/ + pair = method.match(/"([^"]+)"[^"]+"([^"]+)"/) tag = pair[1] klass = pair[2] indent = 6 puts ' ' * indent + "when '" + tag + "'" @@ -37,13 +37,11 @@ # for ruby_lib to find all buttons line2 += ", 'ImageButton'" if klass == 'Button' puts line2 end -=begin # for Pry -class Object - def must_equal b - raise 'not equal' unless self == b - end -end -=end \ No newline at end of file +# class Object +# def must_equal b +# raise 'not equal' unless self == b +# end +# end