Skip to content

Commit

Permalink
Release v8.3; show full precision of bad decimals
Browse files Browse the repository at this point in the history
Version
Previously the decimal numbers that weren't roundtripped by JsonTools
	were not displayed at full precision, which misses the whole point
	of displaying them in the test results
  • Loading branch information
molsonkiko committed Dec 22, 2024
1 parent ac69425 commit 39dc41a
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 57 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Change Log
All [notable changes](#820---2024-11-09) to this project will be documented in this file.
All [notable changes](#830---2024-12-22) to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
Expand Down Expand Up @@ -48,7 +48,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Since v7.0, holding down `Enter` in a multiline textbox (like the [tree viewer query box](/docs/README.md#remespath)) only adds one newline when the key is lifted.
- Maybe use pre-7.1 (dictionary-based rather than indicator-based) [selection remembering](/docs/README.md#working-with-selections) for Notepad++ 8.5.5 and earlier? Indicators are risky with those older NPP's because of the lack of `NPPM_ALLOCATEINDICATOR`.

## [8.3.0] - 2024-11-22
## [8.3.0] - 2024-12-22

### Added

Expand Down
4 changes: 2 additions & 2 deletions JsonToolsNppPlugin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("8.2.0.5")]
[assembly: AssemblyFileVersion("8.2.0.5")]
[assembly: AssemblyVersion("8.3.0.0")]
[assembly: AssemblyFileVersion("8.3.0.0")]
Binary file modified JsonToolsNppPlugin/Release_x64.zip
Binary file not shown.
Binary file modified JsonToolsNppPlugin/Release_x86.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion JsonToolsNppPlugin/Tests/Benchmarker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public static bool BenchmarkAndFuzzParseAndFormatDoubles(int numTrials, int arra
int valcount = badValues.Count;
int totValueCount = numTrials * arraySize;
string plural = valcount == 1 ? "" : "s";
Npp.AddLine($"FAIL: The following {valcount} double{plural} (out of {totValueCount} total) did not round-trip:\r\n" + string.Join(", ", badValues.Select(x => x.ToString(JNode.DOT_DECIMAL_SEP))));
Npp.AddLine($"FAIL: The following {valcount} double{plural} (out of {totValueCount} total) did not round-trip:\r\n" + string.Join(", ", badValues.Select(x => x.ToString("G17", JNode.DOT_DECIMAL_SEP))));
return true;
}
Npp.AddLine($"Representative example of result of re-compression = \"{numArrayDumpedPreview}\"");
Expand Down
Loading

0 comments on commit 39dc41a

Please sign in to comment.