prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.
Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/test/pdr_jsons/state_effecter/good/effecter_pdr.json b/libpldmresponder/test/pdr_jsons/state_effecter/good/effecter_pdr.json
index 1514a59..1143153 100644
--- a/libpldmresponder/test/pdr_jsons/state_effecter/good/effecter_pdr.json
+++ b/libpldmresponder/test/pdr_jsons/state_effecter/good/effecter_pdr.json
@@ -13,9 +13,7 @@
"set": {
"id": 196,
"size": 1,
- "states": [
- 1
- ]
+ "states": [1]
},
"dbus": {
"path": "/foo/bar",
@@ -31,10 +29,7 @@
"set": {
"id": 196,
"size": 1,
- "states": [
- 1,
- 2
- ]
+ "states": [1, 2]
},
"dbus": {
"path": "/foo/bar",
@@ -59,9 +54,7 @@
"set": {
"id": 197,
"size": 1,
- "states": [
- 1
- ]
+ "states": [1]
},
"dbus": {
"path": "/foo/bar",
@@ -77,12 +70,7 @@
"set": {
"id": 198,
"size": 2,
- "states": [
- 1,
- 2,
- 5,
- 15
- ]
+ "states": [1, 2, 5, 15]
},
"dbus": {
"path": "/foo/bar",
@@ -124,4 +112,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/libpldmresponder/test/pdr_jsons/state_sensor/good/sensor_pdr.json b/libpldmresponder/test/pdr_jsons/state_sensor/good/sensor_pdr.json
index 5e1141a..637ccb5 100644
--- a/libpldmresponder/test/pdr_jsons/state_sensor/good/sensor_pdr.json
+++ b/libpldmresponder/test/pdr_jsons/state_sensor/good/sensor_pdr.json
@@ -1,36 +1,33 @@
{
- "sensorPDRs": [
- {
- "pdrType": 4,
- "entries": [
+ "sensorPDRs": [
{
- "type": 5,
- "instance": 0,
- "container": 0,
- "sensors": [
- {
- "set": {
- "id": 1,
- "size": 1,
- "states": [
- 0,
- 5
- ]
- },
- "dbus": {
- "path": "/foo/bar",
- "interface": "xyz.openbmc_project.Foo.Bar",
- "property_name": "propertyName",
- "property_type": "string",
- "property_values": [
- "xyz.openbmc_project.Foo.Bar.V0",
- "xyz.openbmc_project.Foo.Bar.V5"
- ]
- }
- }
- ]
+ "pdrType": 4,
+ "entries": [
+ {
+ "type": 5,
+ "instance": 0,
+ "container": 0,
+ "sensors": [
+ {
+ "set": {
+ "id": 1,
+ "size": 1,
+ "states": [0, 5]
+ },
+ "dbus": {
+ "path": "/foo/bar",
+ "interface": "xyz.openbmc_project.Foo.Bar",
+ "property_name": "propertyName",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Foo.Bar.V0",
+ "xyz.openbmc_project.Foo.Bar.V5"
+ ]
+ }
+ }
+ ]
+ }
+ ]
}
- ]
- }
- ]
-}
\ No newline at end of file
+ ]
+}