diff --git a/examples/nested-jsbeautifyrc/d/expected/test.d b/examples/nested-jsbeautifyrc/d/expected/test.d index 57e453f..315c426 100644 --- a/examples/nested-jsbeautifyrc/d/expected/test.d +++ b/examples/nested-jsbeautifyrc/d/expected/test.d @@ -1,10 +1,7 @@ -class Test +class Test { +private int member; +public auto func ( string str ) { - private int member; - public auto func(string str) - { - import std.stdio; - - writeln("Hello world !"); - } + import std.stdio; writeln("Hello world !"); +} } diff --git a/src/languages/d.coffee b/src/languages/d.coffee index 9215c3f..270ce5d 100644 --- a/src/languages/d.coffee +++ b/src/languages/d.coffee @@ -17,7 +17,7 @@ module.exports = { "d" ] - defaultBeautifier: "dfmt" + defaultBeautifier: "Uncrustify" options: configPath: