Simulating a FS with a root dir and a single file underneath it.
| 274 | |
| 275 | // Simulating a FS with a root dir and a single file underneath it. |
| 276 | Status GetChildren(const string& dir, std::vector<string>* result) override { |
| 277 | if (dir == "." || dir.empty()) { |
| 278 | result->push_back("test"); |
| 279 | } |
| 280 | return Status::OK(); |
| 281 | } |
| 282 | }; |
| 283 | |
| 284 | // Making sure that ./<pattern> and <pattern> have the same result. |