mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 22:49:53 +00:00
* test: sorting for mixed type block properties * test: edited integer sorting test Wanted to ensure it included a case where the sorting would behave different if the numbers were coerced to strings. In that case, "77" would precede "8" whereas for integer sorting we want "8" to precede "77". Renamed `:rating` to `:integer` to reflect this new scenario. * test: new decimal number test * test: query table sort semver-style string block properties * test: query table sort positive and negative integers * fix: replace separate sort strategies with natural sorting strategy * fix: comparing only numbers in query table sort * test: consolidate query table sort integer tests * format: removed line breaks and consolidated small comparison lines to pass large-vars lint * Tweaks to PR - use reader literal for js - Bring back readability to test, each case should have whitespace between it. Split up deftest at a natural spot as deftest exceeds reasonable size of a large var Co-authored-by: Junyi Du <junyidu.cn@gmail.com> Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com> Co-authored-by: Gabriel Horner <gabriel@logseq.com>