test/test_files.rb in build-graph-0.0.1 vs test/test_files.rb in build-graph-0.1.0

- old
+ new

@@ -58,6 +58,17 @@ assert test_glob.first.kind_of? String # We actually return a subclass which includes the root portion: assert_equal __dir__, test_glob.first.root end + + def test_renaming + program_root = File.join(__dir__, "program") + program_glob = Build::Files::Glob.new(program_root, "*.cpp") + + paths = program_glob.process do |path| + path + ".o" + end + + puts "object paths: #{paths} from program paths: #{program_glob.to_a}" + end end