Skip to content

Commit

Permalink
Remove final newline in fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed May 31, 2020
1 parent 68d2db0 commit 698e120
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[test/fixtures/**]
insert_final_newline = false
2 changes: 1 addition & 1 deletion test/fixtures/alice-with-styles.puml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@startuml
!include ./plantuml/style-general.iuml
alice -> bob
@enduml
@enduml
2 changes: 1 addition & 1 deletion test/fixtures/alice.puml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@startuml
alice -> bob
@enduml
@enduml
2 changes: 1 addition & 1 deletion test/fixtures/cars-repeated-charts.vlite

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/fixtures/chart.vlite
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@
"size": "independent"
}
}
}
}
2 changes: 1 addition & 1 deletion test/fixtures/plantuml/base.iuml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
skinparam DefaultFontName "Neucha"
skinparam BackgroundColor black
skinparam BackgroundColor black
2 changes: 1 addition & 1 deletion test/fixtures/plantuml/dir/shadow.iuml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
skinparam Shadowing false
!include ../../base.iuml
!include ../../base.iuml
2 changes: 1 addition & 1 deletion test/fixtures/plantuml/dir/subdir/handwritten.iuml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
skinparam Handwritten true
!include ../../base.iuml
!include ../../base.iuml
2 changes: 1 addition & 1 deletion test/fixtures/plantuml/file-with-id.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ B -> B : stuff2
@startuml(id=MY_OWN_ID2)
C -> C : stuff3
D -> D : stuff4
@enduml
@enduml
2 changes: 1 addition & 1 deletion test/fixtures/plantuml/file-with-index.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ B -> B : stuff2
@startuml
C -> C : stuff3
D -> D : stuff4
@enduml
@enduml
2 changes: 1 addition & 1 deletion test/fixtures/simple.bytefield
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
(draw-box "Size" {:span 2})
(draw-box 0 {:span 2})
(draw-gap "Payload")
(draw-bottom)
(draw-bottom)
2 changes: 1 addition & 1 deletion test/fixtures/vegalite-data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ a,b,c
2020-01-05,0.3,C1
2020-01-15,0.7,C1
2020-01-05,0.5,C2
2020-01-15,0.8,C2
2020-01-15,0.8,C2
4 changes: 0 additions & 4 deletions test/preprocess.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,6 @@ D -> D : stuff4
skinparam Handwritten true
skinparam DefaultFontName "Neucha"
skinparam BackgroundColor black
alice -> bob
@enduml`
expect(preprocessPlantUML(diagramTextWithExistingIncludeFileWithIndex, {})
Expand All @@ -530,8 +528,6 @@ skinparam BackgroundColor black
skinparam Handwritten true
skinparam DefaultFontName "Neucha"
skinparam BackgroundColor black
alice -> bob
@enduml`
expect(preprocessPlantUML(diagramTextWithExistingIncludeFileWithIndex, {})
Expand Down
2 changes: 1 addition & 1 deletion test/test.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 698e120

Please sign in to comment.