Move to fixture

This commit is contained in:
Aoran Zeng
2025-07-15 20:44:40 +08:00
parent 7369734df6
commit 094acc1e85
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# Test for escape mode
- translate = `:escape`
```bash
echo "Hello World!"
printf "Line with \"quotes\" and 'apostrophes'\n"
```

View File

@@ -0,0 +1,7 @@
# Test for hex mode
- translate = `:hex`
```bash
echo "Hello World!"
```

View File

@@ -0,0 +1,65 @@
# Global Config
- prefix = `TEST_`
- output = `:terminal`
- translate = `:escape`
## Java
### Maven Config
- name = `maven_settings`
```xml
<mirror>
<id>test</id>
<name>Test Mirror</name>
<url>https://example.com</url>
</mirror>
```
### Gradle Config
```groovy
repositories {
maven { url 'https://example.com' }
}
```
## Python
- prefix = `PY_`
### pip config
```ini
[global]
index-url = https://example.com/simple
```
### conda config
- language = `yaml`
```
channels:
- https://example.com/conda
```
## Docker
### Dockerfile
```dockerfile
FROM ubuntu:20.04
RUN echo "Hello World"
```
#### Multi-stage Build
```dockerfile
FROM node:16 AS builder
WORKDIR /app
COPY . .
RUN npm install
```