diff options
author | Derek Bailey <derekbailey@google.com> | 2021-12-13 11:51:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 11:51:27 -0800 |
commit | c555ee8fac95b1520225d9c34d73d3e5beb97e52 (patch) | |
tree | acc134e90021761d5af813b11386e9ffc36cd52d /tests | |
parent | b92bb0584d056cd237fa7059702e49617ee156b7 (diff) | |
download | flatbuffers-c555ee8fac95b1520225d9c34d73d3e5beb97e52.tar.gz flatbuffers-c555ee8fac95b1520225d9c34d73d3e5beb97e52.tar.bz2 flatbuffers-c555ee8fac95b1520225d9c34d73d3e5beb97e52.zip |
Add .NET test to github workflows (#6982)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FlatBuffers.Test/FlatBuffersExampleTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FlatBuffers.Test/FlatBuffersExampleTests.cs b/tests/FlatBuffers.Test/FlatBuffersExampleTests.cs index 79a213c3..ec3b2eaa 100644 --- a/tests/FlatBuffers.Test/FlatBuffersExampleTests.cs +++ b/tests/FlatBuffers.Test/FlatBuffersExampleTests.cs @@ -116,13 +116,13 @@ namespace FlatBuffers.Test // Dump to output directory so we can inspect later, if needed #if ENABLE_SPAN_T var data = fbb.DataBuffer.ToSizedArray(); - string filename = @".tmp/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; + string filename = @"monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; File.WriteAllBytes(filename, data); #else using (var ms = fbb.DataBuffer.ToMemoryStream(fbb.DataBuffer.Position, fbb.Offset)) { var data = ms.ToArray(); - string filename = @".tmp/monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; + string filename = @"monsterdata_cstest" + (sizePrefix ? "_sp" : "") + ".mon"; File.WriteAllBytes(filename, data); } #endif |