You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
Previously, the logic to check child elements was using `.any`, and thus
short-circuiting. Now we use a combination of `map` and `fold`, which
exhausts the `.children()` iterator properly.
// We test a list with *two* items to check that short circuiting logic doesn't case
1321
+
// issues.
1322
+
1319
1323
let input = "Foo [bar](bar.rs#L0-L9) quux.
1320
1324
1321
-
- Fred [thud](thud.rs#L0-L9) corge.";
1325
+
- Fred [thud](thud.rs#L0-L9) corge.
1326
+
- Grault [garply](waldo.rs#L0-L9) plugh.";
1322
1327
1323
1328
let expected = "Foo [bar](bar.rs#L1-L10) quux.
1324
1329
1325
-
- Fred [thud](thud.rs#L1-L10) corge.";
1330
+
- Fred [thud](thud.rs#L1-L10) corge.
1331
+
- Grault [garply](waldo.rs#L1-L10) plugh.";
1326
1332
1327
1333
assert_eq!(expected, encode(input,None));
1328
1334
}
1335
+
1336
+
#[test]
1337
+
fntest_bug_short_circuit_link_offset(){
1338
+
let input = "Yes, this project is deployable on Kubernetes. The project contains a Helm chart located in the [`helm/bloop/`](helm/bloop/) directory. This chart includes various Kubernetes resource definitions such as:
1339
+
1340
+
- A [`Deployment`](helm/bloop/templates/bloop-deployment.yaml#L1-L21) for the main application
1341
+
- A [`Service`](helm/bloop/templates/bloop-service.yaml#L1-L18) to expose the application within the cluster
1342
+
- A [`PersistentVolumeClaim`](helm/bloop/templates/bloop-pvc.yaml#L1-L15) for persistent storage
1343
+
- A [`StatefulSet`](helm/bloop/templates/qdrant-statefulset.yaml#L1-L145) for the Qdrant service
1344
+
- A [`Job`](helm/bloop/templates/notification-job.yaml#L1-L25) for sending notifications
1345
+
1346
+
The Helm chart's configurable values are defined in the [`values.yaml`](helm/bloop/values.yaml#L1-L201) file.
1347
+
1348
+
[^summary]: Yes, this project is deployable on Kubernetes. It includes a Helm chart with definitions for various Kubernetes resources such as Deployments, Services, PersistentVolumeClaims, StatefulSets, and Jobs.";
1349
+
1350
+
let expected_body = "Yes, this project is deployable on Kubernetes. The project contains a Helm chart located in the [`helm/bloop/`](helm/bloop/) directory. This chart includes various Kubernetes resource definitions such as:
1351
+
1352
+
- A [`Deployment`](helm/bloop/templates/bloop-deployment.yaml#L0-L20) for the main application
1353
+
- A [`Service`](helm/bloop/templates/bloop-service.yaml#L0-L17) to expose the application within the cluster
1354
+
- A [`PersistentVolumeClaim`](helm/bloop/templates/bloop-pvc.yaml#L0-L14) for persistent storage
1355
+
- A [`StatefulSet`](helm/bloop/templates/qdrant-statefulset.yaml#L0-L144) for the Qdrant service
1356
+
- A [`Job`](helm/bloop/templates/notification-job.yaml#L0-L24) for sending notifications
1357
+
1358
+
The Helm chart's configurable values are defined in the [`values.yaml`](helm/bloop/values.yaml#L0-L200) file.";
1359
+
1360
+
let expected_conclusion = "Yes, this project is deployable on Kubernetes. It includes a Helm chart with definitions for various Kubernetes resources such as Deployments, Services, PersistentVolumeClaims, StatefulSets, and Jobs.";
0 commit comments