Debian Codegraph @

debian/patches/golang-golang-x-text.patch

raw symbols SCIP
1 From: Simon Josefsson <[email protected]>
2 Last-Update: 2026-02-12
3 Subject: Update self tests for expected strings from golang-golang-x-text 0.29.0
4 Forwarded: not-needed
5 Reviewed-By: Andrew Lee (李健秋) <[email protected]>
6
7 --- golang-github-google-cel-go-0.27.0+ds.orig/ext/formatting_test.go
8 +++ golang-github-google-cel-go-0.27.0+ds/ext/formatting_test.go
9 @@ -249,7 +249,7 @@ func TestStringFormat(t *testing.T) {
10 name: "scientific notation formatting clause",
11 format: "%.6e",
12 formatArgs: "1052.032911275",
13 - expectedOutput: "1.052033\u202f\u00d7\u202f10\u2070\u00b3",
14 + expectedOutput: "1.052033×10⁰³",
15 expectedRuntimeCost: 11,
16 expectedEstimatedCost: checker.CostEstimate{Min: 11, Max: 11},
17 locale: "en_US",
18 @@ -276,7 +276,7 @@ func TestStringFormat(t *testing.T) {
19 name: "default precision for scientific notation",
20 format: "%e",
21 formatArgs: "2.71828",
22 - expectedOutput: "2.718280\u202f\u00d7\u202f10\u2070\u2070",
23 + expectedOutput: "2.718280×10⁰⁰",
24 expectedRuntimeCost: 11,
25 expectedEstimatedCost: checker.CostEstimate{Min: 11, Max: 11},
26 locale: "en_US",
27 @@ -321,7 +321,7 @@ func TestStringFormat(t *testing.T) {
28 name: "unicode output for scientific notation",
29 format: "unescaped unicode: %e, escaped unicode: %e",
30 formatArgs: "2.71828, 2.71828",
31 - expectedOutput: "unescaped unicode: 2.718280 × 10⁰⁰, escaped unicode: 2.718280\u202f\u00d7\u202f10\u2070\u2070",
32 + expectedOutput: "unescaped unicode: 2.718280×10⁰⁰, escaped unicode: 2.718280×10⁰⁰",
33 expectedRuntimeCost: 15,
34 expectedEstimatedCost: checker.CostEstimate{Min: 15, Max: 15},
35 locale: "en_US",
36 @@ -584,7 +584,7 @@ func TestStringFormat(t *testing.T) {
37 dynArgs: map[string]any{
38 "dynE": 2.71828,
39 },
40 - expectedOutput: "(dyntype) e: 2.718280\u202f\u00d7\u202f10\u2070\u2070",
41 + expectedOutput: "(dyntype) e: 2.718280×10⁰⁰",
42 expectedRuntimeCost: 13,
43 expectedEstimatedCost: checker.CostEstimate{Min: 13, Max: 13},
44 locale: "en_US",