rename the Step::name into Step::current_step

This commit is contained in:
Tamo 2024-12-11 18:41:03 +01:00
parent d12364c1e0
commit 0d0c18f519
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 11 additions and 11 deletions

View file

@ -215,7 +215,7 @@ mod test {
{
"steps": [
{
"name": "processing tasks",
"currentStep": "processing tasks",
"finished": 0,
"total": 2
}
@ -228,7 +228,7 @@ mod test {
{
"steps": [
{
"name": "writing tasks to disk",
"currentStep": "writing tasks to disk",
"finished": 1,
"total": 2
}
@ -248,12 +248,12 @@ mod test {
{
"steps": [
{
"name": "processing tasks",
"currentStep": "processing tasks",
"finished": 0,
"total": 2
},
{
"name": "task",
"currentStep": "task",
"finished": 0,
"total": 10
}
@ -266,12 +266,12 @@ mod test {
{
"steps": [
{
"name": "processing tasks",
"currentStep": "processing tasks",
"finished": 0,
"total": 2
},
{
"name": "task",
"currentStep": "task",
"finished": 6,
"total": 10
}
@ -284,7 +284,7 @@ mod test {
{
"steps": [
{
"name": "writing tasks to disk",
"currentStep": "writing tasks to disk",
"finished": 1,
"total": 2
}
@ -299,12 +299,12 @@ mod test {
{
"steps": [
{
"name": "writing tasks to disk",
"currentStep": "writing tasks to disk",
"finished": 1,
"total": 2
},
{
"name": "task",
"currentStep": "task",
"finished": 4,
"total": 5
}