From 6727ebea5bcd2d823fb05c0df67efff4e77436ea Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 15 Feb 2013 08:16:16 -0500 Subject: doctool: Don't put curly braces around the construct props if there are none --- tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page | 3 +-- .../Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page | 3 +-- .../Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page | 3 +-- .../scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page | 3 +-- tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page | 3 +-- 11 files changed, 11 insertions(+), 22 deletions(-) (limited to 'tests/scanner') diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page index 1220e811..747301b8 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooBuffer.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let foo_buffer = Regress.FooBuffer({ -}); +let foo_buffer = Regress.FooBuffer(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page index 8e182705..556fe990 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooInterface.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let foo_interface = Regress.FooInterface({ -}); +let foo_interface = Regress.FooInterface(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page index b007600f..deba4902 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooOtherObject.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let foo_other_object = Regress.FooOtherObject({ -}); +let foo_other_object = Regress.FooOtherObject(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page index de032148..03f6888d 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubInterface.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let foo_sub_interface = Regress.FooSubInterface({ -}); +let foo_sub_interface = Regress.FooSubInterface(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page index 244f994d..fa90c907 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.FooSubobject.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let foo_subobject = Regress.FooSubobject({ -}); +let foo_subobject = Regress.FooSubobject(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page index 1d78cd77..4aaa02d2 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFloating.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_floating = Regress.TestFloating({ -}); +let test_floating = Regress.TestFloating(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page index 73312d2c..9b06769f 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalObject.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_fundamental_object = Regress.TestFundamentalObject({ -}); +let test_fundamental_object = Regress.TestFundamentalObject(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page index 93d6152c..19d0c4b6 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestFundamentalSubObject.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_fundamental_sub_object = Regress.TestFundamentalSubObject({ -}); +let test_fundamental_sub_object = Regress.TestFundamentalSubObject(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page index d7ac0c5a..f3efc9d8 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInheritDrawable.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_inherit_drawable = Regress.TestInheritDrawable({ -}); +let test_inherit_drawable = Regress.TestInheritDrawable(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page index de64aad9..a91a5d1d 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestInterface.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_interface = Regress.TestInterface({ -}); +let test_interface = Regress.TestInterface(); diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page index 9e0566e1..5aaae32e 100644 --- a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page +++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestSubObj.page @@ -15,8 +15,7 @@ const Regress = imports.gi.Regress; -let test_sub_obj = Regress.TestSubObj({ -}); +let test_sub_obj = Regress.TestSubObj(); -- cgit v1.2.1