anchor.diff:      }
   
       // for test results display
  -    TESTING_FRAMEWORK_VARS.WHEELS_TESTS_BASE_COMPONENT_PATH = loc.rv.test_path;
  -
  -    return loc.rv;
  +    TESTING_FRAMEWORK_VARS.WHEELS_TESTS_BASE_COMPONENT_PATH = local.rv.test_path;
  +
  +    return local.rv;
     }
   
     /*
  
positive.code:    */
    public query function $listTestPackages(struct options={}, string filter="*") {
  
      var loc = {};
      loc.rv = QueryNew("package","Varchar");
  
      loc.paths = $resolvePaths(arguments.options);
      $initialiseTestEnvironment(loc.paths, arguments.options);
  
    	loc.packages = DirectoryList(loc.paths.full_test_path, true, "query", "#arguments.filter#.cfc");
    	for (loc.package in loc.packages) {
        loc.packageName = ListChangeDelims(RemoveChars(loc.package.directory, 1, Len(loc.paths.full_test_path)), ".", "\/");
    		// directories that begin with an underscore are ignored
    		if (! ReFindNoCase("(^|\.)_", loc.packageName)) {
          loc.packageName = ListPrepend(loc.packageName, loc.paths.test_path, ".");
          loc.packageName = ListAppend(loc.packageName, ListFirst(loc.package.name, "."), ".");
          // ignore invalid packages
    			if ($isValidTest(loc.packageName)) {
    				QueryAddRow(loc.rv);
            QuerySetCell(loc.rv, "package", loc.packageName);
    			}
        }
      };
      return loc.rv;
    }
  
    /*
  
negative.code:    * Returns true if a file path is a wheels core file
     */
    public any function $isCoreFile(required string path) {
      local.path = Replace(arguments.path, ExpandPath("/"), "", "one");
      return (Left(local.path, 7) eq "wheels/" || ListFindNoCase("index.cfm,rewrite.cfm,root.cfm", local.path));
    }
  
  }
  