diff --git a/.github/workflows/blink_parity_mautic.yaml b/.github/workflows/blink_parity_mautic.yaml index e84c4d7d96..05d928cdf8 100644 --- a/.github/workflows/blink_parity_mautic.yaml +++ b/.github/workflows/blink_parity_mautic.yaml @@ -95,7 +95,7 @@ jobs: - name: Compare the two trees run: | # ratchet gate: fail once the differing share crosses this; lower it as parity improves - MAX_DIFF_PERCENT=0.25 + MAX_DIFF_PERCENT=0.2 total=0 differ=0 differing_files="" diff --git a/blink/internal/fixer/rules/class_notation_test.go b/blink/internal/fixer/rules/class_notation_test.go index 7462c5db2d..506c863613 100644 --- a/blink/internal/fixer/rules/class_notation_test.go +++ b/blink/internal/fixer/rules/class_notation_test.go @@ -56,6 +56,31 @@ func TestOrderedClassElementsSimple(t *testing.T) { } } +func TestOrderedClassElementsOrderUseTraitOnly(t *testing.T) { + // order ["use_trait"] groups trait uses first and leaves every other member + // in its source order (const stays after the property here) + src := "