Skip to content

Commit f0b30bc

Browse files
committed
fix readme
1 parent 91a1404 commit f0b30bc

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

packages/txt2rfw/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
A sample command-line application providing basic argument parsing with an entrypoint in `bin/`.
1+
# txt2rfw

packages/txt2rfw/melos_txt2rfw.iml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="WEB_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
7+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
8+
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
9+
<excludeFolder url="file://$MODULE_DIR$/.pub" />
10+
<excludeFolder url="file://$MODULE_DIR$/build" />
11+
</content>
12+
<orderEntry type="sourceFolder" forTests="false" />
13+
<orderEntry type="library" name="Dart SDK" level="project" />
14+
<orderEntry type="library" name="Dart Packages" level="project" />
15+
</component>
16+
</module>

packages/txt2rfw/test/txt2rfw_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ void main() {
1111
'dart', ['run', 'bin/txt2rfw.dart', "test/test.rfwtxt"]);
1212
await process.stdout.transform(utf8.decoder).forEach(print);
1313
await process.stderr.transform(utf8.decoder).forEach(print);
14-
File resultFile = File('test/match.rfw');
14+
File matchFile = File('test/match.rfw');
1515
File outputFile = File('test.rfw');
1616
expect(outputFile.existsSync(), true);
1717
expect(
1818
ListEquality()
19-
.equals(resultFile.readAsBytesSync(), resultFile.readAsBytesSync()),
19+
.equals(matchFile.readAsBytesSync(), matchFile.readAsBytesSync()),
2020
true);
2121

2222
outputFile.delete();
@@ -27,12 +27,12 @@ void main() {
2727
['run', 'bin/txt2rfw.dart', "test/test.rfwtxt", "-o", "test.rfw"]);
2828
await process.stdout.transform(utf8.decoder).forEach(print);
2929
await process.stderr.transform(utf8.decoder).forEach(print);
30-
File resultFile = File('test/match.rfw');
30+
File matchFile = File('test/match.rfw');
3131
File outputFile = File('test.rfw');
3232
expect(outputFile.existsSync(), true);
3333
expect(
3434
ListEquality()
35-
.equals(resultFile.readAsBytesSync(), resultFile.readAsBytesSync()),
35+
.equals(matchFile.readAsBytesSync(), matchFile.readAsBytesSync()),
3636
true);
3737

3838
outputFile.delete();

0 commit comments

Comments
 (0)